Fixed minor typo (+ travis tests is unstable)

This commit is contained in:
Pierre Souchay 2018-03-09 18:42:13 +01:00
parent 93fa1f6f49
commit aebfcb6767
1 changed files with 1 additions and 1 deletions

View File

@ -2821,7 +2821,7 @@ func TestDNS_TCP_and_UDP_Truncate(t *testing.T) {
if shouldBeTruncated != in.Truncated || len(in.Answer) > 2000 || len(in.Answer) < 1 || in.Len() > 65535 { if shouldBeTruncated != in.Truncated || len(in.Answer) > 2000 || len(in.Answer) < 1 || in.Len() > 65535 {
info := fmt.Sprintf("service %s question:=%s (%s) (%d total records) sz:= %d in %v", info := fmt.Sprintf("service %s question:=%s (%s) (%d total records) sz:= %d in %v",
service, question, protocol, numServices, len(in.Answer), out) service, question, protocol, numServices, len(in.Answer), out)
t.Fatalf("Should have truncate:=%v for %s", shouldBeTruncated, info) t.Fatalf("Should have truncated:=%v for %s", shouldBeTruncated, info)
} }
}) })
} }