aboutsummaryrefslogtreecommitdiff
path: root/plugin/etcd/multi_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/etcd/multi_test.go')
-rw-r--r--plugin/etcd/multi_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/etcd/multi_test.go b/plugin/etcd/multi_test.go
index 40d405bdf..3ff423d7e 100644
--- a/plugin/etcd/multi_test.go
+++ b/plugin/etcd/multi_test.go
@@ -6,7 +6,7 @@ import (
"testing"
"github.com/coredns/coredns/plugin/etcd/msg"
- "github.com/coredns/coredns/plugin/pkg/dnsrecorder"
+ "github.com/coredns/coredns/plugin/pkg/dnstest"
"github.com/coredns/coredns/plugin/test"
"github.com/miekg/dns"
@@ -25,7 +25,7 @@ func TestMultiLookup(t *testing.T) {
for _, tc := range dnsTestCasesMulti {
m := tc.Msg()
- rec := dnsrecorder.New(&test.ResponseWriter{})
+ rec := dnstest.NewRecorder(&test.ResponseWriter{})
_, err := etc.ServeDNS(ctxt, rec, m)
if err != nil {
t.Errorf("expected no error, got %v\n", err)