diff options
author | Oleksandr Redko <oleksandr.red+github@gmail.com> | 2023-02-09 10:29:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-09 09:29:28 +0100 |
commit | c0c5f9cd387c3b450ba24cbe364b44a65d9eb269 (patch) | |
tree | 3d321c0edf20a6789ef34cb494f59936ecc53caa /uri_test.go | |
parent | optimized b2s function (#1483) (diff) | |
download | fasthttp-c0c5f9cd387c3b450ba24cbe364b44a65d9eb269.tar.gz fasthttp-c0c5f9cd387c3b450ba24cbe364b44a65d9eb269.tar.bz2 fasthttp-c0c5f9cd387c3b450ba24cbe364b44a65d9eb269.zip |
doc,test: correct typos (#1484)
Diffstat (limited to 'uri_test.go')
-rw-r--r-- | uri_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uri_test.go b/uri_test.go index f074392..4de78f3 100644 --- a/uri_test.go +++ b/uri_test.go @@ -314,13 +314,13 @@ func testURIParseScheme(t *testing.T, uri, expectedScheme, expectedHost, expecte t.Fatalf("Unexpected scheme %q. Expecting %q for uri %q", u.Scheme(), expectedScheme, uri) } if string(u.Host()) != expectedHost { - t.Fatalf("Unexepcted host %q. Expecting %q for uri %q", u.Host(), expectedHost, uri) + t.Fatalf("Unexpected host %q. Expecting %q for uri %q", u.Host(), expectedHost, uri) } if string(u.RequestURI()) != expectedRequestURI { - t.Fatalf("Unexepcted requestURI %q. Expecting %q for uri %q", u.RequestURI(), expectedRequestURI, uri) + t.Fatalf("Unexpected requestURI %q. Expecting %q for uri %q", u.RequestURI(), expectedRequestURI, uri) } if string(u.hash) != expectedHash { - t.Fatalf("Unexepcted hash %q. Expecting %q for uri %q", u.hash, expectedHash, uri) + t.Fatalf("Unexpected hash %q. Expecting %q for uri %q", u.hash, expectedHash, uri) } } |