mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 10:13:14 -04:00 
			
		
		
		
	Rename middleware/testing (#103)
Rename to test and name the toplevel tests dir to test for consitency.
This commit is contained in:
		| @@ -7,7 +7,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" | ||||
| ) | ||||
| @@ -32,5 +32,5 @@ func TestLookupProxy(t *testing.T) { | ||||
| } | ||||
|  | ||||
| func fakeState() middleware.State { | ||||
| 	return middleware.State{W: &coretest.ResponseWriter{}, Req: new(dns.Msg)} | ||||
| 	return middleware.State{W: &test.ResponseWriter{}, Req: new(dns.Msg)} | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user