summary refs log tree commit diff stats
path: root/tests/async/tasynciossl.nim
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2014-12-26 19:21:34 +0000
committerDominik Picheta <dominikpicheta@googlemail.com>2014-12-26 19:21:34 +0000
commitf972b464cb2addda7be05d5791e8d3ef06205286 (patch)
treea640b08cdacb079e456dc8bbbd86df6c5466c4b7 /tests/async/tasynciossl.nim
parentc35182aca76c88d0514538d5926a8383d0cbc095 (diff)
downloadNim-f972b464cb2addda7be05d5791e8d3ef06205286.tar.gz
Deprecated asyncio module. Fixed old tests.
Diffstat (limited to 'tests/async/tasynciossl.nim')
-rw-r--r--tests/async/tasynciossl.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/async/tasynciossl.nim b/tests/async/tasynciossl.nim
index b0222e4ff..118b9e74d 100644
--- a/tests/async/tasynciossl.nim
+++ b/tests/async/tasynciossl.nim
@@ -47,7 +47,7 @@ proc serverAccept(s: PAsyncSocket) =
 proc launchSwarm(disp: var PDispatcher, port: TPort, count: int,
                  buffered = true, useSSL = false) =
   for i in 1..count:
-    var client = AsyncSocket()
+    var client = asyncSocket()
     when defined(ssl):
       if useSSL:
         ctx1.wrapSocket(client)
@@ -56,7 +56,7 @@ proc launchSwarm(disp: var PDispatcher, port: TPort, count: int,
     client.connect("localhost", port)
 
 proc createSwarm(port: TPort, buffered = true, useSSL = false) =
-  var server = AsyncSocket()
+  var server = asyncSocket()
   when defined(ssl):
     if useSSL:
       ctx.wrapSocket(server)