summary refs log tree commit diff stats
path: root/tests/async
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-11-05 11:05:46 +0100
committerMiran <narimiran@disroot.org>2019-11-05 11:05:46 +0100
commit3ba3307d61319984e3e8b1061f38402d53cf8f60 (patch)
treed01213de137a5f3216b5c8cf4cacb16c06c686e6 /tests/async
parentffa9a7405fe55f91d3816d3cf4b3b1b82ede21ff (diff)
downloadNim-3ba3307d61319984e3e8b1061f38402d53cf8f60.tar.gz
remove deprecated procs (#12535)
Diffstat (limited to 'tests/async')
-rw-r--r--tests/async/twinasyncrw.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/async/twinasyncrw.nim b/tests/async/twinasyncrw.nim
index 6763eb5a2..db10fffce 100644
--- a/tests/async/twinasyncrw.nim
+++ b/tests/async/twinasyncrw.nim
@@ -203,11 +203,11 @@ when defined(windows):
       add(result, c)
 
   proc sendMessages(client: AsyncFD) {.async.} =
-    for i in 0 .. <messagesToSend:
+    for i in 0 ..< messagesToSend:
       await winSend(client, "Message " & $i & "\c\L")
 
   proc launchSwarm(port: Port) {.async.} =
-    for i in 0 .. <swarmSize:
+    for i in 0 ..< swarmSize:
       var sock = newNativeSocket()
       setBlocking(sock, false)