test: change LTD for NXDOMAIN

This commit is contained in:
Fernandez Ludovic 2021-11-22 21:08:38 +01:00
parent 2de6e0b0c8
commit 9114733772

View file

@ -106,10 +106,10 @@ var findXByFqdnTestCases = []struct {
}, },
{ {
desc: "NXDOMAIN", desc: "NXDOMAIN",
fqdn: "test.loho.jkl.", fqdn: "test.lego.zz.",
zone: "loho.jkl.", zone: "lego.zz.",
nameservers: []string{"1.1.1.1:53"}, nameservers: []string{"1.1.1.1:53"},
expectedError: "could not find the start of authority for test.loho.jkl.: NXDOMAIN", expectedError: "could not find the start of authority for test.lego.zz.: NXDOMAIN",
}, },
{ {
desc: "several non existent nameservers", desc: "several non existent nameservers",