diff options
Diffstat (limited to 'fuzz_test.go')
-rw-r--r-- | fuzz_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzz_test.go b/fuzz_test.go index 01ea4f7..e07f1a0 100644 --- a/fuzz_test.go +++ b/fuzz_test.go @@ -44,7 +44,7 @@ func FuzzResponseReadLimitBody(f *testing.F) { f.Fuzz(func(t *testing.T, body []byte, max int) { // Don't do bodies bigger than 10kb. - max = max % (10 * 1024) + max %= (10 * 1024) var res Response @@ -59,7 +59,7 @@ func FuzzRequestReadLimitBody(f *testing.F) { f.Fuzz(func(t *testing.T, body []byte, max int) { // Don't do bodies bigger than 10kb. - max = max % (10 * 1024) + max %= (10 * 1024) var req Request |