mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-21 23:21:08 +00:00
[core:net] Make IPv6 resolution test failure informative instead.
This commit is contained in:
@@ -591,7 +591,8 @@ test_dns_resolve :: proc(t: ^testing.T) {
|
||||
}
|
||||
|
||||
ip6, ip6_ok := ep6.address.(net.IP6_Address)
|
||||
if !testing.expect(t, ip6_ok, "Unable to resolve IP6") {
|
||||
if !ip6_ok {
|
||||
log.info("Unable to resolve IP6")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user