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
|
@ -4,7 +4,7 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/miekg/coredns/middleware"
|
||||
coretest "github.com/miekg/coredns/middleware/testing"
|
||||
"github.com/miekg/coredns/middleware/test"
|
||||
|
||||
"github.com/miekg/dns"
|
||||
"golang.org/x/net/context"
|
||||
|
@ -56,7 +56,7 @@ func TestLoadBalance(t *testing.T) {
|
|||
},
|
||||
}
|
||||
|
||||
rec := middleware.NewResponseRecorder(&coretest.ResponseWriter{})
|
||||
rec := middleware.NewResponseRecorder(&test.ResponseWriter{})
|
||||
|
||||
for i, test := range tests {
|
||||
req := new(dns.Msg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue