go vet issue

This commit is contained in:
Miek Gieben 2016-10-28 12:59:18 +01:00
parent cb867ff6bd
commit 490ffbd6d2

View file

@ -49,7 +49,7 @@ example.net:0 {
t.Fatal("Expected to receive reply, but didn't") t.Fatal("Expected to receive reply, but didn't")
} }
if len(resp.Answer) != 2 { if len(resp.Answer) != 2 {
t.Fatal("Expected two RR in answer section got %d", len(resp.Answer)) t.Fatalf("Expected two RR in answer section got %d", len(resp.Answer))
} }
// Remove RR from the Apex // Remove RR from the Apex
@ -63,7 +63,7 @@ example.net:0 {
} }
if len(resp.Answer) != 1 { if len(resp.Answer) != 1 {
t.Fatal("Expected two RR in answer section got %d", len(resp.Answer)) t.Fatalf("Expected two RR in answer section got %d", len(resp.Answer))
} }
} }