summary refs log tree commit diff stats
path: root/tests/async/tasyncconnect.nim
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2020-03-25 19:15:34 +0100
committerGitHub <noreply@github.com>2020-03-25 19:15:34 +0100
commit5b55aa52d05ff911d64febc973bed1f0c2d97d25 (patch)
tree27f204241efaacd7ba138167fe7b81146e155935 /tests/async/tasyncconnect.nim
parent182d3c16e3b7aac9ed3575dec55e6d9a3d5042c4 (diff)
downloadNim-5b55aa52d05ff911d64febc973bed1f0c2d97d25.tar.gz
fix deprecations and other warnings (#13748)
Diffstat (limited to 'tests/async/tasyncconnect.nim')
-rw-r--r--tests/async/tasyncconnect.nim2
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)