aboutsummaryrefslogtreecommitdiff
path: root/plugin/etcd/lookup_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/etcd/lookup_test.go')
-rw-r--r--plugin/etcd/lookup_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/etcd/lookup_test.go b/plugin/etcd/lookup_test.go
index 3b97fe66c..41d031863 100644
--- a/plugin/etcd/lookup_test.go
+++ b/plugin/etcd/lookup_test.go
@@ -319,7 +319,9 @@ func TestLookup(t *testing.T) {
etc.ServeDNS(ctxt, rec, m)
resp := rec.Msg
- test.SortAndCheck(t, resp, tc)
+ if err := test.SortAndCheck(resp, tc); err != nil {
+ t.Error(err)
+ }
}
}