Improve asyncdispatch error messages, fix some tests on Windows.

This commit is contained in:
Dominik Picheta 2015-09-11 14:35:42 +01:00
commit 77c2bcf079
4 changed files with 36 additions and 20 deletions

View file

@ -15,7 +15,8 @@ const
when defined(windows) or defined(nimdoc):
discard
# TODO: just make it work on Windows for now.
quit("Error: unhandled exception: Connection refused [Exception]")
else:
proc testAsyncConnect() {.async.} =
var s = newAsyncRawSocket()