We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cbc7bd commit 1f477a0Copy full SHA for 1f477a0
fuzz.go
@@ -2,9 +2,8 @@ package jsonparser
2
3
func FuzzParseString(data []byte) int {
4
r, err := ParseString(data)
5
- if err != nil {
+ if err != nil || r == "" {
6
return 0
7
}
8
- _ = r
9
return 1
10
0 commit comments