aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/etcd_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/etcd_test.go b/test/etcd_test.go
index 145b83a48..a6093d4c4 100644
--- a/test/etcd_test.go
+++ b/test/etcd_test.go
@@ -70,7 +70,7 @@ func TestEtcdStubAndProxyLookup(t *testing.T) {
state := request.Request{W: &test.ResponseWriter{}, Req: new(dns.Msg)}
resp, err := p.Lookup(state, "example.com.", dns.TypeA)
if err != nil {
- t.Fatalf("Expected to receive reply, but didn't", err)
+ t.Fatalf("Expected to receive reply, but didn't: %v", err)
}
if len(resp.Answer) == 0 {
t.Fatalf("Expected to at least one RR in the answer section, got none")
@@ -79,7 +79,7 @@ func TestEtcdStubAndProxyLookup(t *testing.T) {
t.Errorf("Expected RR to A, got: %d", resp.Answer[0].Header().Rrtype)
}
if resp.Answer[0].(*dns.A).A.String() != "93.184.216.34" {
- t.Errorf("Expected 93.184.216.34, got: %d", resp.Answer[0].(*dns.A).A.String())
+ t.Errorf("Expected 93.184.216.34, got: %s", resp.Answer[0].(*dns.A).A.String())
}
}