diff options
author | 2016-08-20 23:03:36 +0100 | |
---|---|---|
committer | 2016-08-20 23:03:36 +0100 | |
commit | 416603383dfe0f57ef480e4bf480bbab1bf780a9 (patch) | |
tree | c03871ed17a439df91d32b1cdc999fed0a15f434 /test/etcd_test.go | |
parent | 9ac3cab1b7b1b1e78f86ce3c6a80fbee312162e6 (diff) | |
download | coredns-416603383dfe0f57ef480e4bf480bbab1bf780a9.tar.gz coredns-416603383dfe0f57ef480e4bf480bbab1bf780a9.tar.zst coredns-416603383dfe0f57ef480e4bf480bbab1bf780a9.zip |
Cleanup and fixes (#223)
* Set version to 001
* Remove k8stest, test fails is k8s is not there: touch luck
* Remove server directory: not used anymore
* Disable k8s test (for now)
* gometalinter changes
Diffstat (limited to 'test/etcd_test.go')
-rw-r--r-- | test/etcd_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/etcd_test.go b/test/etcd_test.go index 6beb4cff2..6645e9931 100644 --- a/test/etcd_test.go +++ b/test/etcd_test.go @@ -77,10 +77,10 @@ func TestEtcdStubAndProxyLookup(t *testing.T) { t.Error("Expected to at least one RR in the answer section, got none") } if resp.Answer[0].Header().Rrtype != dns.TypeA { - t.Error("Expected RR to A, got: %d", resp.Answer[0].Header().Rrtype) + 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.Error("Expected 93.184.216.34, got: %d", resp.Answer[0].(*dns.A).A.String()) + t.Errorf("Expected 93.184.216.34, got: %d", resp.Answer[0].(*dns.A).A.String()) } } |