Skip to content

Commit cd6d38b

Browse files
committed
Should not found key
1 parent 78fcf0a commit cd6d38b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parser_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ var getTests = []GetTest{
309309
desc: `malformed array (no closing brace)`,
310310
json: `{"a":[, "b":123}`,
311311
path: []string{"b"},
312-
isErr: true,
312+
isFound: false,
313313
},
314314

315315
GetTest{ // This test returns not found instead of a parse error, as checking for the malformed JSON would reduce performance

0 commit comments

Comments
 (0)