This commit is contained in:
Miek Gieben 2011-08-08 13:21:18 +02:00
parent 861a2adb6c
commit 472935c3d2
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ func TestClientSync(t *testing.T) {
m.SetQuestion("miek.nl", TypeSOA)
c := NewClient()
r := c.Exchange(m, "85.223.71.124:53")
r, _ := c.Exchange(m, "85.223.71.124:53")
if r != nil && r.Rcode != RcodeSuccess {
t.Log("Failed to get an valid answer")
@ -67,7 +67,7 @@ func TestClientEDNS0(t *testing.T) {
m.Extra[0] = edns
c := NewClient()
r := c.Exchange(m, "85.223.71.124:53")
r, _ := c.Exchange(m, "85.223.71.124:53")
if r != nil && r.Rcode != RcodeSuccess {
t.Log("Failed to get an valid answer")