diff options
Diffstat (limited to 'tests/async/tasyncconnect.nim')
-rw-r--r-- | tests/async/tasyncconnect.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/async/tasyncconnect.nim b/tests/async/tasyncconnect.nim index f63a87990..564f6c67c 100644 --- a/tests/async/tasyncconnect.nim +++ b/tests/async/tasyncconnect.nim @@ -18,7 +18,7 @@ when defined(windows) or defined(nimdoc): quit("Error: unhandled exception: Connection refused") else: proc testAsyncConnect() {.async.} = - var s = newAsyncNativeSocket() + var s = createAsyncNativeSocket() await s.connect(testHost, testPort) |