Fix DNS test issue on macOS.
This commit is contained in:
parent
c836109f41
commit
bdba2c3fca
|
@ -16,8 +16,8 @@ void main()
|
||||||
assert(status == DNSStatus.ok);
|
assert(status == DNSStatus.ok);
|
||||||
assert(addrs.length >= 1);
|
assert(addrs.length >= 1);
|
||||||
foreach (a; addrs) {
|
foreach (a; addrs) {
|
||||||
scope (failure) assert(false);
|
try writefln("addr %s (%s)", a.toAddrString(), a.toPortString());
|
||||||
writefln("%s (%s)", a.toAddrString(), a.toServiceNameString());
|
catch (Exception e) assert(false, e.msg);
|
||||||
}
|
}
|
||||||
s_done = true;
|
s_done = true;
|
||||||
eventDriver.core.exit();
|
eventDriver.core.exit();
|
||||||
|
|
Loading…
Reference in a new issue