aboutsummaryrefslogtreecommitdiff
path: root/uri_test.go
diff options
context:
space:
mode:
authorGravatar Oleksandr Redko <Oleksandr_Redko@epam.com> 2023-06-13 16:18:59 +0300
committerGravatar GitHub <noreply@github.com> 2023-06-13 15:18:59 +0200
commitffdf59d04ca2f02556308d60d37b8e77ea04484c (patch)
treecad591ac557fce7673b2c7d52a6863c7694b4e37 /uri_test.go
parentadd DisableSpecialHeaders option (#1573) (diff)
downloadfasthttp-ffdf59d04ca2f02556308d60d37b8e77ea04484c.tar.gz
fasthttp-ffdf59d04ca2f02556308d60d37b8e77ea04484c.tar.bz2
fasthttp-ffdf59d04ca2f02556308d60d37b8e77ea04484c.zip
Enable gofumpt linter; format code `gofumpt -w .` (#1576)v1.48.0
Diffstat (limited to 'uri_test.go')
-rw-r--r--uri_test.go4
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)) {