aboutsummaryrefslogtreecommitdiff
path: root/allocation_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 /allocation_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 'allocation_test.go')
-rw-r--r--allocation_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/allocation_test.go b/allocation_test.go
index cdb4aaa..9d3d167 100644
--- a/allocation_test.go
+++ b/allocation_test.go
@@ -78,7 +78,7 @@ func TestAllocationURI(t *testing.T) {
n := testing.AllocsPerRun(100, func() {
u := AcquireURI()
- u.Parse(nil, uri)
+ u.Parse(nil, uri) //nolint:errcheck
ReleaseURI(u)
})