fix: add tests & fix missing soa
This commit is contained in:
parent
d6daa054b5
commit
954195e4d0
7 changed files with 112 additions and 43 deletions
2
vendor/github.com/coredns/coredns/plugin/test/helpers.go
generated
vendored
2
vendor/github.com/coredns/coredns/plugin/test/helpers.go
generated
vendored
|
@ -266,7 +266,7 @@ func CNAMEOrder(res *dns.Msg) error {
|
|||
|
||||
// SortAndCheck sorts resp and the checks the header and three sections against the testcase in tc.
|
||||
func SortAndCheck(resp *dns.Msg, tc Case) error {
|
||||
sort.Sort(RRSet(resp.Answer))
|
||||
sort.Sort(RRSet(resp.Answer))
|
||||
sort.Sort(RRSet(resp.Ns))
|
||||
sort.Sort(RRSet(resp.Extra))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue