From 554ee49f51e80a37115dedbdb9550a84eeca3ad3 Mon Sep 17 00:00:00 2001 From: Kevin Diu Date: Tue, 18 Jul 2023 09:37:54 +0900 Subject: [PATCH] Apply suggestions from code review --- internal/net/dialer_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/net/dialer_test.go b/internal/net/dialer_test.go index 6794408951..9c2ff0dc33 100644 --- a/internal/net/dialer_test.go +++ b/internal/net/dialer_test.go @@ -265,10 +265,13 @@ func TestNewDialer(t *testing.T) { return errors.Errorf("got: \"%+v\" is not a dialer", gotDer) } // skipcq: VET-V0008 + //nolint: govet,copylocks if diff := comparator.Diff(*want, *got, // skipcq: VET-V0008 + //nolint: govet,copylocks comparator.IgnoreFields(*want, "dialer", "der", "addrs", "dnsCachedOnce", "dnsCache", "ctrl", "tmu"), // skipcq: VET-V0008 + //nolint: govet,copylocks comparator.AllowUnexported(*want), comparator.Comparer(func(x, y cacher.Cache[*dialerCache]) bool { if x == nil && y == nil {