diff options
Diffstat (limited to 'tests/destructor/towned_binary_tree.nim')
-rw-r--r-- | tests/destructor/towned_binary_tree.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/destructor/towned_binary_tree.nim b/tests/destructor/towned_binary_tree.nim index 3ec80badf..fb635e7c6 100644 --- a/tests/destructor/towned_binary_tree.nim +++ b/tests/destructor/towned_binary_tree.nim @@ -1,7 +1,7 @@ discard """ - cmd: '''nim c -d:nimAllocStats --newruntime $file''' - output: '''331665 -(allocCount: 333335, deallocCount: 333335)''' + cmd: '''nim c -d:nimAllocStats --gc:arc $file''' + output: '''31665 +(allocCount: 33334, deallocCount: 33334)''' """ # bug #11053 @@ -72,7 +72,7 @@ proc main() = cur = 5'i32 res = 0 - for i in 1 ..< 1000000: + for i in 1 ..< 100000: let a = i mod 3 cur = (cur * 57 + 43) mod 10007 case a: |