aboutsummaryrefslogtreecommitdiff
path: root/plugin/etcd/group_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/etcd/group_test.go')
-rw-r--r--plugin/etcd/group_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugin/etcd/group_test.go b/plugin/etcd/group_test.go
index f5493dc1f..d5c846238 100644
--- a/plugin/etcd/group_test.go
+++ b/plugin/etcd/group_test.go
@@ -25,12 +25,14 @@ func TestGroupLookup(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)
+ }
}
}