mirror of
https://github.com/joohoi/acme-dns.git
synced 2025-03-10 12:50:17 +07:00
spelling: nonexistent
This commit is contained in:
parent
1040bcbcb7
commit
68fe3f4451
@ -186,7 +186,7 @@ func TestAuthoritative(t *testing.T) {
|
|||||||
if !answer.MsgHdr.Authoritative {
|
if !answer.MsgHdr.Authoritative {
|
||||||
t.Errorf("Was expecting authoritative bit to be set")
|
t.Errorf("Was expecting authoritative bit to be set")
|
||||||
}
|
}
|
||||||
nanswer, _ := resolv.lookup("nonexsitent.nonauth.tld", dns.TypeA)
|
nanswer, _ := resolv.lookup("nonexistent.nonauth.tld", dns.TypeA)
|
||||||
if len(nanswer.Answer) > 0 {
|
if len(nanswer.Answer) > 0 {
|
||||||
t.Errorf("Didn't expect answers for non authoritative domain query")
|
t.Errorf("Didn't expect answers for non authoritative domain query")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user