typo fixes (#3169)

* spelling fixes

* its/it's
This commit is contained in:
Chris O'Haver
2019-08-21 16:08:55 -04:00
committed by GitHub
parent 6881d6d585
commit 3f47fc8ba4
28 changed files with 32 additions and 33 deletions

View File

@@ -15,7 +15,7 @@ const (
NoError Type = iota
// NameError is a NXDOMAIN in header, SOA in auth.
NameError
// ServerError is a set of errors we want to cache, for now it containers SERVFAIL and NOTIMPL.
// ServerError is a set of errors we want to cache, for now it contains SERVFAIL and NOTIMPL.
ServerError
// NoData indicates name found, but not the type: NOERROR in header, SOA in auth.
NoData

View File

@@ -49,7 +49,7 @@ func TestTypifyRRSIG(t *testing.T) {
}
func TestTypifyImpossible(t *testing.T) {
// create impossible message that denies it's own existence
// create impossible message that denies its own existence
m := new(dns.Msg)
m.SetQuestion("bar.www.example.org.", dns.TypeAAAA)
m.Rcode = dns.RcodeNameError // name does not exist