From 3de746a1605590907e2cbed856e9c7482d0ca94f Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Wed, 19 May 2021 10:38:15 -0700 Subject: [PATCH] fix staticcheck --- resolver_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resolver_test.go b/resolver_test.go index 3dda72e..15773d3 100644 --- a/resolver_test.go +++ b/resolver_test.go @@ -1,7 +1,6 @@ package doh import ( - "bytes" "context" "net" "testing" @@ -74,7 +73,7 @@ func sameIPs(a, b []net.IPAddr) bool { } for i := range a { - if !bytes.Equal(a[i].IP, b[i].IP) { + if !a[i].IP.Equal(b[i].IP) { return false } }