Skip to content

Commit

Permalink
Merge pull request #49 from josh-wolfe-okcupid/fix-config-test
Browse files Browse the repository at this point in the history
fix intermittent failure in config_test.go
  • Loading branch information
gurkankaymak authored Sep 1, 2024
2 parents 71fbdca + c05f88d commit d58b1fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ func TestObject_String(t *testing.T) {

t.Run("return the string of an object that contains multiple elements with the forbidden characters", func(t *testing.T) {
got := Object{"a": String("!@#$%^&*()_+{}[];:',./<>?\"\\"), "b": Int(2)}.String()
if got != "{a:\"!@#$%^&*()_+{}[];:',./<>?\"\\\", b:2}" && got != "{b:2, a:\"!@#$%^&*()_+{}[];:',./<>?\"}" {
if got != "{a:\"!@#$%^&*()_+{}[];:',./<>?\"\\\", b:2}" && got != "{b:2, a:\"!@#$%^&*()_+{}[];:',./<>?\"\\\"}" {
fail(t, got, "{a:\"!@#$%^&*()_+{}[];:',./<>?\"\\\", b:2}")
}
})
Expand Down

0 comments on commit d58b1fc

Please sign in to comment.