Fixing tests

This commit is contained in:
Armon Dadgar 2014-11-03 12:55:52 -08:00
parent 317513147d
commit f4e9d517ac

View File

@ -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"),
}}, }},