aboutsummaryrefslogtreecommitdiff
path: root/bytesconv_test.go
diff options
context:
space:
mode:
authorGravatar Oleksandr Redko <Oleksandr_Redko@epam.com> 2023-11-12 17:42:39 +0200
committerGravatar GitHub <noreply@github.com> 2023-11-12 16:42:39 +0100
commit8ecfc989d9c4c6c30232a6465ec17d5c6d85fc5f (patch)
tree9a1fd803e343e8363409b4d83148ebbc6203e370 /bytesconv_test.go
parentLazy load stackless functions (#1656) (diff)
downloadfasthttp-8ecfc989d9c4c6c30232a6465ec17d5c6d85fc5f.tar.gz
fasthttp-8ecfc989d9c4c6c30232a6465ec17d5c6d85fc5f.tar.bz2
fasthttp-8ecfc989d9c4c6c30232a6465ec17d5c6d85fc5f.zip
Enable dupword, unconvert linters (#1658)v1.51.0
Diffstat (limited to 'bytesconv_test.go')
-rw-r--r--bytesconv_test.go2
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)
}