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()