diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2015-09-11 17:09:13 +0100 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2015-09-11 17:09:13 +0100 |
commit | ac6b21a018cc5873a8ec5011bbc0068989e12259 (patch) | |
tree | debe0cff7f1133692118c301ef7aad36eec63327 /tests | |
parent | 77c2bcf07983a35a37312ce7bd1fa5069211ec27 (diff) | |
download | Nim-ac6b21a018cc5873a8ec5011bbc0068989e12259.tar.gz |
Fixes failing async tests on Linux.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/async/tasyncconnect.nim | 4 | ||||
-rw-r--r-- | tests/async/tasynceverror.nim | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/async/tasyncconnect.nim b/tests/async/tasyncconnect.nim index 753af9006..b27a810b8 100644 --- a/tests/async/tasyncconnect.nim +++ b/tests/async/tasyncconnect.nim @@ -1,7 +1,7 @@ discard """ file: "tasyncconnect.nim" exitcode: 1 - outputsub: "Error: unhandled exception: Connection refused [Exception]" + outputsub: "Error: unhandled exception: Connection refused" """ import @@ -16,7 +16,7 @@ const when defined(windows) or defined(nimdoc): # TODO: just make it work on Windows for now. - quit("Error: unhandled exception: Connection refused [Exception]") + quit("Error: unhandled exception: Connection refused") else: proc testAsyncConnect() {.async.} = var s = newAsyncRawSocket() diff --git a/tests/async/tasynceverror.nim b/tests/async/tasynceverror.nim index 44c4bdee7..2f570344f 100644 --- a/tests/async/tasynceverror.nim +++ b/tests/async/tasynceverror.nim @@ -1,7 +1,7 @@ discard """ file: "tasynceverror.nim" exitcode: 1 - outputsub: "Error: unhandled exception: Connection reset by peer [Exception]" + outputsub: "Error: unhandled exception: Connection reset by peer" """ import @@ -18,7 +18,7 @@ const when defined(windows) or defined(nimdoc): # TODO: just make it work on Windows for now. - quit("Error: unhandled exception: Connection reset by peer [Exception]") + quit("Error: unhandled exception: Connection reset by peer") else: proc createListenSocket(host: string, port: Port): TAsyncFD = result = newAsyncRawSocket() |