aboutsummaryrefslogtreecommitdiff
path: root/uri_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'uri_test.go')
-rw-r--r--uri_test.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/uri_test.go b/uri_test.go
index c3f6d9b..5996bcb 100644
--- a/uri_test.go
+++ b/uri_test.go
@@ -9,25 +9,6 @@ import (
"time"
)
-func FuzzURIUpdateBytes(f *testing.F) {
- u := AcquireURI()
- defer ReleaseURI(u)
-
- f.Add([]byte(`http://foobar.com/aaa/bb?cc`))
- f.Add([]byte(`//foobar.com/aaa/bb?cc`))
- f.Add([]byte(`/aaa/bb?cc`))
- f.Add([]byte(`xx?yy=abc`))
-
- f.Fuzz(func(t *testing.T, uri []byte) {
- u.UpdateBytes(uri)
-
- w := bytes.Buffer{}
- if _, err := u.WriteTo(&w); err != nil {
- t.Fatalf("unexpected error: %v", err)
- }
- })
-}
-
func TestURICopyToQueryArgs(t *testing.T) {
t.Parallel()