Fix various issues with formatting and typos (#424)

* Fix typos

* Simplify code

* Fix error usage
This commit is contained in:
Michael Grosser
2016-11-13 14:03:12 +00:00
committed by Miek Gieben
parent f402b8f726
commit ece3cf8ecf
13 changed files with 19 additions and 19 deletions

View File

@@ -43,7 +43,7 @@ func TestZoneSigningBlackLies(t *testing.T) {
func testNxdomainMsg() *dns.Msg {
return &dns.Msg{MsgHdr: dns.MsgHdr{Rcode: dns.RcodeNameError},
Question: []dns.Question{dns.Question{Name: "ww.miek.nl.", Qclass: dns.ClassINET, Qtype: dns.TypeTXT}},
Question: []dns.Question{{Name: "ww.miek.nl.", Qclass: dns.ClassINET, Qtype: dns.TypeTXT}},
Ns: []dns.RR{test.SOA("miek.nl. 1800 IN SOA linode.atoom.net. miek.miek.nl. 1461471181 14400 3600 604800 14400")},
}
}