Ver código fonte

Test: Fix incorrect output format (#3968)

tcpdumppy 11 meses atrás
pai
commit
ccc4b7b2cf
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/dns/dnscommon_test.go

+ 1 - 1
app/dns/dnscommon_test.go

@@ -88,7 +88,7 @@ func Test_parseResponse(t *testing.T) {
 				got.Expire = time.Time{}
 			}
 			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)
 			}
 		})