Add tests for multi zone support

Working as intended and now tested.
This commit is contained in:
Miek Gieben 2016-03-25 16:24:43 +00:00
parent e62eb2cde0
commit e8982dc99c
2 changed files with 109 additions and 3 deletions

View file

@ -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()
}
}
}