mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
More cleanup - needs to think a little about NewSOA()
This commit is contained in:
@@ -16,8 +16,7 @@ func TestLookupProxy(t *testing.T) {
|
||||
defer log.SetOutput(os.Stderr)
|
||||
|
||||
p := New([]string{"8.8.8.8:53"})
|
||||
fakestate := fakeState()
|
||||
resp, err := p.Lookup(fakestate, "example.org.", dns.TypeA)
|
||||
resp, err := p.Lookup(fakeState(), "example.org.", dns.TypeA)
|
||||
if err != nil {
|
||||
t.Error("Expected to receive reply, but didn't")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user