Commit 490ffbd6 authored by Miek Gieben's avatar Miek Gieben

go vet issue

parent cb867ff6
...@@ -49,7 +49,7 @@ example.net:0 { ...@@ -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 { ...@@ -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))
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment