Fix test
This commit is contained in:
parent
861a2adb6c
commit
472935c3d2
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue