Skip to content

Commit

Permalink
parser: handle error per linter finding
Browse files Browse the repository at this point in the history
  • Loading branch information
jmccarthy committed Mar 4, 2024
1 parent cbf3f0b commit 0eba8cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion x/exp/parser/fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ func FuzzParse(f *testing.F) {
if err != nil {
return
}
Parse(toks)
_, err = Parse(toks)
if err != nil {
t.Errorf("err: %v", err)
}
})
}

0 comments on commit 0eba8cf

Please sign in to comment.