Add tests for multi zone support
Working as intended and now tested.
This commit is contained in:
parent
e62eb2cde0
commit
e8982dc99c
2 changed files with 109 additions and 3 deletions
|
@ -118,16 +118,13 @@ func TestLookup(t *testing.T) {
|
|||
|
||||
if !checkSection(t, tc, Answer, resp.Answer) {
|
||||
t.Logf("%v\n", resp)
|
||||
t.Fatal()
|
||||
}
|
||||
if !checkSection(t, tc, Ns, resp.Ns) {
|
||||
t.Logf("%v\n", resp)
|
||||
t.Fatal()
|
||||
|
||||
}
|
||||
if !checkSection(t, tc, Extra, resp.Extra) {
|
||||
t.Logf("%v\n", resp)
|
||||
t.Fatal()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue