More cleanup - needs to think a little about NewSOA()

This commit is contained in:
Miek Gieben
2016-03-22 10:29:48 +00:00
parent 22dade9e12
commit 1a7f0deadd
5 changed files with 138 additions and 114 deletions

View File

@@ -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")
}