aboutsummaryrefslogtreecommitdiff
path: root/reuseport
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 /reuseport
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 'reuseport')
-rw-r--r--reuseport/reuseport_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/reuseport/reuseport_test.go b/reuseport/reuseport_test.go
index a9b60ea..08722c3 100644
--- a/reuseport/reuseport_test.go
+++ b/reuseport/reuseport_test.go
@@ -66,7 +66,7 @@ func testNewListener(t *testing.T, network, addr string, serversCount, requestsC
ch := make(chan struct{})
go func() {
if resp, err = ioutil.ReadAll(c); err != nil {
- t.Fatalf("%d. unexpected error when reading response: %s", i, err)
+ t.Errorf("%d. unexpected error when reading response: %s", i, err)
}
close(ch)
}()