diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2020-07-17 14:22:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-17 14:22:28 +0200 |
commit | 34a61fe63f9b60826bcfb2ad62eafdefbc37ef35 (patch) | |
tree | 275338067e63164df1042f280c6ca2e8c8a43f70 /fasthttpadaptor | |
parent | Use a directory we are sure to exist for tests (diff) | |
download | fasthttp-34a61fe63f9b60826bcfb2ad62eafdefbc37ef35.tar.gz fasthttp-34a61fe63f9b60826bcfb2ad62eafdefbc37ef35.tar.bz2 fasthttp-34a61fe63f9b60826bcfb2ad62eafdefbc37ef35.zip |
Update linting (#851)
Diffstat (limited to 'fasthttpadaptor')
-rw-r--r-- | fasthttpadaptor/adaptor_test.go | 2 |
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)) |