diff options
Diffstat (limited to 'plugin/etcd/other_test.go')
-rw-r--r-- | plugin/etcd/other_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugin/etcd/other_test.go b/plugin/etcd/other_test.go index d7aa7f5e0..1a69bd617 100644 --- a/plugin/etcd/other_test.go +++ b/plugin/etcd/other_test.go @@ -29,12 +29,14 @@ func TestOtherLookup(t *testing.T) { rec := dnstest.NewRecorder(&test.ResponseWriter{}) _, err := etc.ServeDNS(ctxt, rec, m) if err != nil { - t.Errorf("Expected no error, got %v\n", err) + t.Errorf("Expected no error, got %v", err) continue } resp := rec.Msg - test.SortAndCheck(t, resp, tc) + if err := test.SortAndCheck(resp, tc); err != nil { + t.Error(err) + } } } |