aboutsummaryrefslogtreecommitdiff
path: root/args_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'args_test.go')
-rw-r--r--args_test.go4
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) {