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 /args_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 'args_test.go')
-rw-r--r-- | args_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/args_test.go b/args_test.go index 83a1256..f6c62ae 100644 --- a/args_test.go +++ b/args_test.go @@ -336,8 +336,8 @@ func testCopyTo(t *testing.T, a *Args) { var b Args a.CopyTo(&b) - if !reflect.DeepEqual(*a, b) { //nolint:govet - t.Fatalf("ArgsCopyTo fail, a: \n%+v\nb: \n%+v\n", *a, b) //nolint:govet + if !reflect.DeepEqual(*a, b) { //nolint + t.Fatalf("ArgsCopyTo fail, a: \n%+v\nb: \n%+v\n", *a, b) //nolint } b.VisitAll(func(k, v []byte) { |