diff options
Diffstat (limited to 'tests/destructor/towned_binary_tree.nim')
-rw-r--r-- | tests/destructor/towned_binary_tree.nim | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/destructor/towned_binary_tree.nim b/tests/destructor/towned_binary_tree.nim index 372b1d3d8..3ec80badf 100644 --- a/tests/destructor/towned_binary_tree.nim +++ b/tests/destructor/towned_binary_tree.nim @@ -1,7 +1,7 @@ discard """ - cmd: '''nim c --newruntime $file''' + cmd: '''nim c -d:nimAllocStats --newruntime $file''' output: '''331665 -allocs 0''' +(allocCount: 333335, deallocCount: 333335)''' """ # bug #11053 @@ -87,6 +87,5 @@ proc main() = discard echo res -when isMainModule: +dumpAllocStats: main() - echo "allocs ", allocs |