fix testcase to more clear one

This commit is contained in:
KimHyeonwoo 2022-07-18 22:14:48 +09:00
parent 229339ecd5
commit f584919518
1 changed files with 1 additions and 1 deletions

View File

@ -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 {