forked from mirror/go-json
fix testcase to more clear one
This commit is contained in:
parent
229339ecd5
commit
f584919518
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue