aboutsummaryrefslogtreecommitdiff
path: root/http_test.go
diff options
context:
space:
mode:
authorGravatar Erik Dubbelboer <erik@dubbelboer.com> 2020-07-17 14:22:28 +0200
committerGravatar GitHub <noreply@github.com> 2020-07-17 14:22:28 +0200
commit34a61fe63f9b60826bcfb2ad62eafdefbc37ef35 (patch)
tree275338067e63164df1042f280c6ca2e8c8a43f70 /http_test.go
parentUse a directory we are sure to exist for tests (diff)
downloadfasthttp-34a61fe63f9b60826bcfb2ad62eafdefbc37ef35.tar.gz
fasthttp-34a61fe63f9b60826bcfb2ad62eafdefbc37ef35.tar.bz2
fasthttp-34a61fe63f9b60826bcfb2ad62eafdefbc37ef35.zip
Update linting (#851)
Diffstat (limited to 'http_test.go')
-rw-r--r--http_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http_test.go b/http_test.go
index 3173d2d..bcac9dc 100644
--- a/http_test.go
+++ b/http_test.go
@@ -21,7 +21,7 @@ func TestFragmentInURIRequest(t *testing.T) {
req.SetRequestURI("https://docs.gitlab.com/ee/user/project/integrations/webhooks.html#events")
var b bytes.Buffer
- req.WriteTo(&b)
+ req.WriteTo(&b) //nolint:errcheck
got := b.String()
expected := "GET /ee/user/project/integrations/webhooks.html HTTP/1.1\r\nHost: docs.gitlab.com\r\n\r\n"