summary refs log tree commit diff stats
path: root/tests/vm/treset.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vm/treset.nim')
-rw-r--r--tests/vm/treset.nim5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/vm/treset.nim b/tests/vm/treset.nim
index ff8bc5b83..32fbc7f04 100644
--- a/tests/vm/treset.nim
+++ b/tests/vm/treset.nim
@@ -1,6 +1,3 @@
-discard """
-  output: '''0'''
-"""
 static:
   type Obj = object
     field: int
@@ -48,6 +45,6 @@ proc main =
 
   var x = 4
   x = default(int)
-  echo x
+  doAssert x == 0
 
 main()