Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindiu committed Jul 26, 2023
1 parent a546316 commit 554ee49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/net/dialer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 554ee49

Please sign in to comment.