diff options
Diffstat (limited to 'plugin/file/glue_test.go')
-rw-r--r-- | plugin/file/glue_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/file/glue_test.go b/plugin/file/glue_test.go index 3880953c2..bf523a90b 100644 --- a/plugin/file/glue_test.go +++ b/plugin/file/glue_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" @@ -44,7 +44,7 @@ func TestLookupGlue(t *testing.T) { for _, tc := range atoomTestCases { 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) |