Browse Source

Test: Fix incorrect output format (#3968)

pull/3971/head
tcpdumppy 3 weeks ago committed by GitHub
parent
commit
ccc4b7b2cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      app/dns/dnscommon_test.go

2
app/dns/dnscommon_test.go

@ -88,7 +88,7 @@ func Test_parseResponse(t *testing.T) {
got.Expire = time.Time{} got.Expire = time.Time{}
} }
if cmp.Diff(got, tt.want) != "" { if cmp.Diff(got, tt.want) != "" {
t.Errorf(cmp.Diff(got, tt.want)) t.Error(cmp.Diff(got, tt.want))
// t.Errorf("handleResponse() = %#v, want %#v", got, tt.want) // t.Errorf("handleResponse() = %#v, want %#v", got, tt.want)
} }
}) })

Loading…
Cancel
Save