Resolve problems with test on macosx.

This commit is contained in:
cheatfate
2016-07-06 18:02:59 +03:00
parent 389f500226
commit 32e3e01dac

View File

@@ -58,6 +58,7 @@ when not defined(windows):
discard posix.connect(client_socket, aiList.ai_addr,
aiList.ai_addrlen.Socklen)
dealloc(aiList)
discard selector.select(100)
var rc1 = selector.select(100)
assert(len(rc1) == 2)