diff options
Diffstat (limited to 'plugin/pkg/replacer/replacer_test.go')
-rw-r--r-- | plugin/pkg/replacer/replacer_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/pkg/replacer/replacer_test.go b/plugin/pkg/replacer/replacer_test.go index 53b41510f..2fcaafc92 100644 --- a/plugin/pkg/replacer/replacer_test.go +++ b/plugin/pkg/replacer/replacer_test.go @@ -17,7 +17,7 @@ func TestNewReplacer(t *testing.T) { r.SetQuestion("example.org.", dns.TypeHINFO) r.MsgHdr.AuthenticatedData = true - replaceValues := New(nil, r, w, "") + replaceValues := New(r, w, "") switch v := replaceValues.(type) { case replacer: @@ -47,7 +47,7 @@ func TestSet(t *testing.T) { r.SetQuestion("example.org.", dns.TypeHINFO) r.MsgHdr.AuthenticatedData = true - repl := New(nil, r, w, "") + repl := New(r, w, "") repl.Set("name", "coredns.io.") repl.Set("type", "A") |