From c05f88d0609e975bf9e56eec37fbaa9fb53cc8ec Mon Sep 17 00:00:00 2001 From: Josh Wolfe Date: Thu, 29 Aug 2024 16:23:35 -0400 Subject: [PATCH] fix intermittent failure in config_test.go --- config_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config_test.go b/config_test.go index b8975ca..9f287e6 100644 --- a/config_test.go +++ b/config_test.go @@ -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}") } })