Fixing tests
This commit is contained in:
parent
317513147d
commit
f4e9d517ac
@ -233,7 +233,7 @@ func TestMDNSService_HostNameQuery(t *testing.T) {
|
|||||||
Name: "testhost.",
|
Name: "testhost.",
|
||||||
Rrtype: dns.TypeA,
|
Rrtype: dns.TypeA,
|
||||||
Class: dns.ClassINET,
|
Class: dns.ClassINET,
|
||||||
Ttl: 10,
|
Ttl: 120,
|
||||||
},
|
},
|
||||||
A: net.IP([]byte{192, 168, 0, 42}),
|
A: net.IP([]byte{192, 168, 0, 42}),
|
||||||
}},
|
}},
|
||||||
@ -245,7 +245,7 @@ func TestMDNSService_HostNameQuery(t *testing.T) {
|
|||||||
Name: "testhost.",
|
Name: "testhost.",
|
||||||
Rrtype: dns.TypeAAAA,
|
Rrtype: dns.TypeAAAA,
|
||||||
Class: dns.ClassINET,
|
Class: dns.ClassINET,
|
||||||
Ttl: 10,
|
Ttl: 120,
|
||||||
},
|
},
|
||||||
AAAA: net.ParseIP("2620:0:1000:1900:b0c2:d0b2:c411:18bc"),
|
AAAA: net.ParseIP("2620:0:1000:1900:b0c2:d0b2:c411:18bc"),
|
||||||
}},
|
}},
|
||||||
|
Loading…
Reference in New Issue
Block a user