diff options
author | Miran <narimiran@disroot.org> | 2020-03-25 19:15:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-25 19:15:34 +0100 |
commit | 5b55aa52d05ff911d64febc973bed1f0c2d97d25 (patch) | |
tree | 27f204241efaacd7ba138167fe7b81146e155935 /tests/async/tasyncconnect.nim | |
parent | 182d3c16e3b7aac9ed3575dec55e6d9a3d5042c4 (diff) | |
download | Nim-5b55aa52d05ff911d64febc973bed1f0c2d97d25.tar.gz |
fix deprecations and other warnings (#13748)
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) |