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 /uri_timing_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 'uri_timing_test.go')
-rw-r--r-- | uri_timing_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uri_timing_test.go b/uri_timing_test.go index 44a1d29..1d2cdd4 100644 --- a/uri_timing_test.go +++ b/uri_timing_test.go @@ -27,7 +27,7 @@ func BenchmarkURIFullURI(b *testing.B) { b.RunParallel(func(pb *testing.PB) { var u URI - u.Parse(host, requestURI) + u.Parse(host, requestURI) //nolint:errcheck for pb.Next() { uri := u.FullURI() if len(uri) != uriLen { @@ -43,7 +43,7 @@ func benchmarkURIParse(b *testing.B, host, uri string) { b.RunParallel(func(pb *testing.PB) { var u URI for pb.Next() { - u.Parse(strHost, strURI) + u.Parse(strHost, strURI) //nolint:errcheck } }) } |