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 {