mirror of
https://github.com/miekg/dns.git
synced 2025-12-17 01:31:00 +01:00
remove async test as we no longer have that function
This commit is contained in:
parent
53bc98f2ca
commit
49ca0cd3df
@ -19,24 +19,6 @@ func TestClientSync(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
func TestClientASync(t *testing.T) {
|
|
||||||
m := new(Msg)
|
|
||||||
m.SetQuestion("miek.nl.", TypeSOA)
|
|
||||||
|
|
||||||
c := new(Client)
|
|
||||||
ch := c.Do(m, "37.251.95.53:53", nil)
|
|
||||||
ch = ch
|
|
||||||
func(m, r *Msg, e error, d interface{}) {
|
|
||||||
if r != nil && r.Rcode != RcodeSuccess {
|
|
||||||
t.Log("Failed to get an valid answer")
|
|
||||||
t.Fail()
|
|
||||||
t.Logf("%v\n", r)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
func TestClientEDNS0(t *testing.T) {
|
func TestClientEDNS0(t *testing.T) {
|
||||||
m := new(Msg)
|
m := new(Msg)
|
||||||
m.SetQuestion("miek.nl.", TypeDNSKEY)
|
m.SetQuestion("miek.nl.", TypeDNSKEY)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user