Skip to content

Commit

Permalink
fix testcase to more clear one
Browse files Browse the repository at this point in the history
  • Loading branch information
KimHyeonwoo committed Jul 18, 2022
1 parent 229339e commit f584919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f584919

Please sign in to comment.