diff options
author | Oleksandr Redko <Oleksandr_Redko@epam.com> | 2023-11-12 17:42:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-12 16:42:39 +0100 |
commit | 8ecfc989d9c4c6c30232a6465ec17d5c6d85fc5f (patch) | |
tree | 9a1fd803e343e8363409b4d83148ebbc6203e370 /bytesconv_test.go | |
parent | Lazy load stackless functions (#1656) (diff) | |
download | fasthttp-8ecfc989d9c4c6c30232a6465ec17d5c6d85fc5f.tar.gz fasthttp-8ecfc989d9c4c6c30232a6465ec17d5c6d85fc5f.tar.bz2 fasthttp-8ecfc989d9c4c6c30232a6465ec17d5c6d85fc5f.zip |
Diffstat (limited to 'bytesconv_test.go')
-rw-r--r-- | bytesconv_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bytesconv_test.go b/bytesconv_test.go index c9034ec..4449810 100644 --- a/bytesconv_test.go +++ b/bytesconv_test.go @@ -37,7 +37,7 @@ func TestAppendHTMLEscape(t *testing.T) { allcases[i] = byte(i) } res := string(AppendHTMLEscape(nil, string(allcases))) - expect := string(html.EscapeString(string(allcases))) + expect := html.EscapeString(string(allcases)) if res != expect { t.Fatalf("unexpected string %q. Expecting %q.", res, expect) } |