fix and document zone-match regex-no-match case (#5180)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
parent
dbb8a12394
commit
4d1d9adb0e
3 changed files with 12 additions and 11 deletions
|
@ -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])
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue