summary refs log tree commit diff stats
path: root/tests/arc/tasyncleak2.nim
diff options
context:
space:
mode:
authorflywind <43030857+xflywind@users.noreply.github.com>2020-12-28 07:13:21 -0600
committerGitHub <noreply@github.com>2020-12-28 14:13:21 +0100
commit6d442a40a6f89572052d61aeb73ec26d1f3451ce (patch)
tree6867049dcd37c9610f91e93058580d87b5ca8bb2 /tests/arc/tasyncleak2.nim
parentf9a15dbae909f4521cd506bedf7ec500c4f4d9f8 (diff)
downloadNim-6d442a40a6f89572052d61aeb73ec26d1f3451ce.tar.gz
use doAssert in tests (#16486)
Diffstat (limited to 'tests/arc/tasyncleak2.nim')
-rw-r--r--tests/arc/tasyncleak2.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/arc/tasyncleak2.nim b/tests/arc/tasyncleak2.nim
index 4d8486b3b..a8d71f1ee 100644
--- a/tests/arc/tasyncleak2.nim
+++ b/tests/arc/tasyncleak2.nim
@@ -84,5 +84,5 @@ proc main(): Future[void] =
 for i in 0..9:
   waitFor main()
   GC_fullCollect()
-  assert getOccupiedMem() < 1024
+  doAssert getOccupiedMem() < 1024
 echo "success"