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 /client_test.go | |
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 'client_test.go')
-rw-r--r-- | client_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client_test.go b/client_test.go index 3088181..bb04cef 100644 --- a/client_test.go +++ b/client_test.go @@ -84,7 +84,7 @@ func TestClientInvalidURI(t *testing.T) { atomic.AddInt64(&requests, 1) }, } - go s.Serve(ln) + go s.Serve(ln) //nolint:errcheck c := &Client{ Dial: func(addr string) (net.Conn, error) { return ln.Dial() @@ -113,10 +113,10 @@ func TestClientGetWithBody(t *testing.T) { s := &Server{ Handler: func(ctx *RequestCtx) { body := ctx.Request.Body() - ctx.Write(body) + ctx.Write(body) //nolint:errcheck }, } - go s.Serve(ln) + go s.Serve(ln) //nolint:errcheck c := &Client{ Dial: func(addr string) (net.Conn, error) { return ln.Dial() |