diff options
author | Oleksandr Redko <oleksandr.red+github@gmail.com> | 2024-03-02 17:19:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-02 16:19:52 +0100 |
commit | bdd459ab0e018eb2cc8b722c218630f1c4811c5e (patch) | |
tree | 8b3d444787b844b58f0340a0c7bde355b5650bd1 /args_test.go | |
parent | Enable few gocritic checks; fix up issues (#1728) (diff) | |
download | fasthttp-bdd459ab0e018eb2cc8b722c218630f1c4811c5e.tar.gz fasthttp-bdd459ab0e018eb2cc8b722c218630f1c4811c5e.tar.bz2 fasthttp-bdd459ab0e018eb2cc8b722c218630f1c4811c5e.zip |
test: remove `//nolint:govet` comments (#1729)
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 098d57c..9dff711 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) { + t.Fatalf("ArgsCopyTo fail, a: \n%+v\nb: \n%+v\n", a, &b) } b.VisitAll(func(k, _ []byte) { |