diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2021-10-01 13:37:28 +0200 |
---|---|---|
committer | Erik Dubbelboer <erik@dubbelboer.com> | 2021-10-01 13:38:31 +0200 |
commit | ffab77a59d9ca1fe3add2f6501efd44a6669291b (patch) | |
tree | aaf7a9f715cd1f5f813f2efbae1479628a18e7bc /fs_test.go | |
parent | Properly parse URI (diff) | |
download | fasthttp-ffab77a59d9ca1fe3add2f6501efd44a6669291b.tar.gz fasthttp-ffab77a59d9ca1fe3add2f6501efd44a6669291b.tar.bz2 fasthttp-ffab77a59d9ca1fe3add2f6501efd44a6669291b.zip |
Improve return value reusability documentation
Diffstat (limited to 'fs_test.go')
-rw-r--r-- | fs_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -60,7 +60,7 @@ func TestNewVHostPathRewriterMaliciousHost(t *testing.T) { f := NewVHostPathRewriter(0) path := f(&ctx) - expectedPath := "/invalid-host/foo/bar/baz" + expectedPath := "/invalid-host/" if string(path) != expectedPath { t.Fatalf("unexpected path %q. Expecting %q", path, expectedPath) } |