spelling: nonexistent

This commit is contained in:
Josh Soref 2020-04-06 19:20:30 -04:00
parent 1040bcbcb7
commit 68fe3f4451

View File

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