Rename middleware/testing (#103)
Rename to test and name the toplevel tests dir to test for consitency.
This commit is contained in:
parent
0ea2a6088d
commit
4829b40efa
21 changed files with 261 additions and 261 deletions
|
@ -3,7 +3,7 @@ package middleware
|
|||
import (
|
||||
"testing"
|
||||
|
||||
coretest "github.com/miekg/coredns/middleware/testing"
|
||||
"github.com/miekg/coredns/middleware/test"
|
||||
|
||||
"github.com/miekg/dns"
|
||||
)
|
||||
|
@ -51,7 +51,7 @@ func testState() State {
|
|||
m := new(dns.Msg)
|
||||
m.SetQuestion("example.com.", dns.TypeA)
|
||||
m.SetEdns0(4097, true)
|
||||
return State{W: &coretest.ResponseWriter{}, Req: m}
|
||||
return State{W: &test.ResponseWriter{}, Req: m}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue