summary refs log tree commit diff stats
path: root/tests/arc/tasyncawait.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arc/tasyncawait.nim')
-rw-r--r--tests/arc/tasyncawait.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/arc/tasyncawait.nim b/tests/arc/tasyncawait.nim
index f29b8d2b2..91a7453cd 100644
--- a/tests/arc/tasyncawait.nim
+++ b/tests/arc/tasyncawait.nim
@@ -40,7 +40,7 @@ proc readMessages(client: AsyncFD) {.async.} =
       clientCount.inc
       break
     else:
-      if line.startswith("Message "):
+      if line.startsWith("Message "):
         msgCount.inc
       else:
         doAssert false
@@ -62,7 +62,7 @@ proc main =
 let mem = getOccupiedMem()
 main()
 
-assert msgCount == swarmSize * messagesToSend
+doAssert msgCount == swarmSize * messagesToSend
 echo "result: ", msgCount
 GC_fullCollect()
 echo "memory: ", formatSize(getOccupiedMem() - mem)