Fix DNS test issue on macOS.

This commit is contained in:
Sönke Ludwig 2017-01-22 22:23:58 +01:00
parent c836109f41
commit bdba2c3fca

View file

@ -16,8 +16,8 @@ void main()
assert(status == DNSStatus.ok);
assert(addrs.length >= 1);
foreach (a; addrs) {
scope (failure) assert(false);
writefln("%s (%s)", a.toAddrString(), a.toServiceNameString());
try writefln("addr %s (%s)", a.toAddrString(), a.toPortString());
catch (Exception e) assert(false, e.msg);
}
s_done = true;
eventDriver.core.exit();