aboutsummaryrefslogtreecommitdiff
path: root/fasthttpadaptor
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 /fasthttpadaptor
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 'fasthttpadaptor')
-rw-r--r--fasthttpadaptor/adaptor_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fasthttpadaptor/adaptor_test.go b/fasthttpadaptor/adaptor_test.go
index 0cfeddd..f98d090 100644
--- a/fasthttpadaptor/adaptor_test.go
+++ b/fasthttpadaptor/adaptor_test.go
@@ -144,7 +144,7 @@ func setContextValueMiddleware(next fasthttp.RequestHandler, key string, value i
func TestContentType(t *testing.T) {
nethttpH := func(w http.ResponseWriter, r *http.Request) {
- w.Write([]byte("<!doctype html><html>"))
+ w.Write([]byte("<!doctype html><html>")) //nolint:errcheck
}
fasthttpH := NewFastHTTPHandler(http.HandlerFunc(nethttpH))