diff options
author | Oleksandr Redko <Oleksandr_Redko@epam.com> | 2023-06-13 16:18:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-13 15:18:59 +0200 |
commit | ffdf59d04ca2f02556308d60d37b8e77ea04484c (patch) | |
tree | cad591ac557fce7673b2c7d52a6863c7694b4e37 /uri_test.go | |
parent | add DisableSpecialHeaders option (#1573) (diff) | |
download | fasthttp-ffdf59d04ca2f02556308d60d37b8e77ea04484c.tar.gz fasthttp-ffdf59d04ca2f02556308d60d37b8e77ea04484c.tar.bz2 fasthttp-ffdf59d04ca2f02556308d60d37b8e77ea04484c.zip |
Diffstat (limited to 'uri_test.go')
-rw-r--r-- | uri_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uri_test.go b/uri_test.go index 72fff30..5996bcb 100644 --- a/uri_test.go +++ b/uri_test.go @@ -239,7 +239,6 @@ func TestURICopyTo(t *testing.T) { if !reflect.DeepEqual(u, copyU) { //nolint:govet t.Fatalf("URICopyTo fail, u: \n%+v\ncopyu: \n%+v\n", u, copyU) //nolint:govet } - } func TestURIFullURI(t *testing.T) { @@ -417,7 +416,8 @@ func TestURIParse(t *testing.T) { } func testURIParse(t *testing.T, u *URI, host, uri, - expectedURI, expectedHost, expectedPath, expectedPathOriginal, expectedArgs, expectedHash string) { + expectedURI, expectedHost, expectedPath, expectedPathOriginal, expectedArgs, expectedHash string, +) { u.Parse([]byte(host), []byte(uri)) //nolint:errcheck if !bytes.Equal(u.FullURI(), []byte(expectedURI)) { |