diff options
Diffstat (limited to 'plugin/file/ds_test.go')
-rw-r--r-- | plugin/file/ds_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/file/ds_test.go b/plugin/file/ds_test.go index e1087a81d..537d47def 100644 --- a/plugin/file/ds_test.go +++ b/plugin/file/ds_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "github.com/coredns/coredns/plugin/pkg/dnsrecorder" + "github.com/coredns/coredns/plugin/pkg/dnstest" "github.com/coredns/coredns/plugin/test" "github.com/miekg/dns" @@ -62,7 +62,7 @@ func TestLookupDS(t *testing.T) { for _, tc := range dsTestCases { m := tc.Msg() - rec := dnsrecorder.New(&test.ResponseWriter{}) + rec := dnstest.NewRecorder(&test.ResponseWriter{}) _, err := fm.ServeDNS(ctx, rec, m) if err != nil { t.Errorf("Expected no error, got %v\n", err) |