mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 00:04:15 -04:00
fix and document zone-match regex-no-match case (#5180)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
@@ -587,8 +587,8 @@ func TestMultiSection(t *testing.T) {
|
||||
if code == rcodeFallthrough {
|
||||
t.Fatalf("TestMultiSection expected no fall through resolving something.example. IN MX")
|
||||
}
|
||||
if code != dns.RcodeNameError {
|
||||
t.Fatalf("TestMultiSection expected NXDOMAIN resolving something.example. IN MX, got %v, %v", code, dns.RcodeToString[code])
|
||||
if code != dns.RcodeServerFailure {
|
||||
t.Fatalf("TestMultiSection expected SERVFAIL resolving something.example. IN MX, got %v, %v", code, dns.RcodeToString[code])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user