Skip to content

Commit

Permalink
fixing lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: Shreyas Kirtane <[email protected]>
  • Loading branch information
skirtan1 committed Jan 24, 2025
1 parent e184f03 commit 457fc0e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/validator/validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,15 @@ func Test_ValidationInput(t *testing.T) {
}

func addFuzzCases(f *testing.F) {
f.Helper()
for _, tc := range fuzzbank {
f.Add(tc)
}
}

func fuzzFunction(v Validator) func(t *testing.T, a []byte) {
return func(t *testing.T, a []byte) {
v.Validate(a)
func fuzzFunction(v Validator) func(*testing.T, []byte) {
return func(_ *testing.T, a []byte) {
_, _ = v.Validate(a)
}
}

Expand Down

0 comments on commit 457fc0e

Please sign in to comment.