Test: Fix incorrect output format (#3968)

pull/3971/head
tcpdumppy 3 weeks ago committed by GitHub
parent 9fbb6fbb3b
commit ccc4b7b2cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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