From f584919518468cd0891324d6a229bb24e64f64f1 Mon Sep 17 00:00:00 2001 From: KimHyeonwoo Date: Mon, 18 Jul 2022 22:14:48 +0900 Subject: [PATCH] fix testcase to more clear one --- decode_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decode_test.go b/decode_test.go index 194c822..0f9485b 100644 --- a/decode_test.go +++ b/decode_test.go @@ -3994,7 +3994,7 @@ func (t *issue384) UnmarshalJSON(b []byte) error { func TestIssue384(t *testing.T) { testcases := []string{ - "{\"data\":{\"text\": \"" + strings.Repeat("-", 492) + "\\\"\"}}\n", + "{\"data\": \"" + strings.Repeat("-", 500) + "\\\"\"}", "[\"" + strings.Repeat("-", 508) + "\\\"\"]", } for _, tc := range testcases {