aboutsummaryrefslogtreecommitdiff
path: root/plugin/reverse/reverse_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/reverse/reverse_test.go')
-rw-r--r--plugin/reverse/reverse_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/reverse/reverse_test.go b/plugin/reverse/reverse_test.go
index c7a7fea6c..6789c7cc8 100644
--- a/plugin/reverse/reverse_test.go
+++ b/plugin/reverse/reverse_test.go
@@ -6,7 +6,7 @@ import (
"testing"
"github.com/coredns/coredns/plugin"
- "github.com/coredns/coredns/plugin/pkg/dnsrecorder"
+ "github.com/coredns/coredns/plugin/pkg/dnstest"
"github.com/coredns/coredns/plugin/test"
"github.com/miekg/dns"
@@ -52,7 +52,7 @@ func TestReverse(t *testing.T) {
tr.qtype = dns.TypeA
req.SetQuestion(dns.Fqdn(tr.qname), tr.qtype)
- rec := dnsrecorder.New(&test.ResponseWriter{})
+ rec := dnstest.NewRecorder(&test.ResponseWriter{})
code, err := em.ServeDNS(ctx, rec, req)
if err != tr.expectedErr {