summary refs log tree commit diff stats
path: root/tests/async/tasyncconnect.nim
diff options
context:
space:
mode:
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 b27a810b8..3dac379b2 100644
--- a/tests/async/tasyncconnect.nim
+++ b/tests/async/tasyncconnect.nim
@@ -19,7 +19,7 @@ when defined(windows) or defined(nimdoc):
     quit("Error: unhandled exception: Connection refused")
 else:
     proc testAsyncConnect() {.async.} =
-        var s = newAsyncRawSocket()
+        var s = newAsyncNativeSocket()
 
         await s.connect(testHost, testPort)