summary refs log tree commit diff stats
path: root/tests/destructor/tsimpleclosure.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/destructor/tsimpleclosure.nim')
-rw-r--r--tests/destructor/tsimpleclosure.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/destructor/tsimpleclosure.nim b/tests/destructor/tsimpleclosure.nim
index 4916f4bab..9626dd6f8 100644
--- a/tests/destructor/tsimpleclosure.nim
+++ b/tests/destructor/tsimpleclosure.nim
@@ -1,11 +1,11 @@
 discard """
-  cmd: '''nim c -d:nimAllocStats --newruntime $file'''
+  cmd: '''nim c -d:nimAllocStats --gc:arc $file'''
   output: '''a b
 70
 hello
 hello
 hello
-(allocCount: 4, deallocCount: 4)'''
+(allocCount: 3, deallocCount: 3)'''
 """
 
 import system / ansi_c