Skip to content

Commit a5dd6af

Browse files
committed
Remove testdata
1 parent b8d60fa commit a5dd6af

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

parrot/parrot.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,8 @@ func isValidMethod(method string) bool {
699699
http.MethodPatch,
700700
http.MethodDelete,
701701
http.MethodOptions,
702+
http.MethodConnect,
703+
http.MethodTrace,
702704
MethodAny:
703705
return true
704706
}

parrot/parrot_fuzz_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,12 @@ func FuzzMethodAny(f *testing.F) {
4848
f.Add(http.MethodPatch)
4949
f.Add(http.MethodDelete)
5050
f.Add(http.MethodOptions)
51+
f.Add(http.MethodConnect)
52+
f.Add(http.MethodTrace)
5153

5254
f.Fuzz(func(t *testing.T, method string) {
5355
if !isValidMethod(method) {
54-
t.Skip("invalid method")
56+
t.Skipf("invalid method '%s'", method)
5557
}
5658
resp, err := p.Call(method, route.Path)
5759
require.NoError(t, err)

parrot/testdata/fuzz/FuzzMethodAny/771e938e4458e983

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)