summary refs log tree commit diff stats
path: root/tests/vm/tvarsection.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vm/tvarsection.nim')
-rw-r--r--tests/vm/tvarsection.nim10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/vm/tvarsection.nim b/tests/vm/tvarsection.nim
index d1c4926a0..cd34bd02e 100644
--- a/tests/vm/tvarsection.nim
+++ b/tests/vm/tvarsection.nim
@@ -1,7 +1,3 @@
-discard """
-  output: '''-1abc'''
-"""
-
 var
   a {.compileTime.} = 2
   b = -1
@@ -9,7 +5,7 @@ var
   d = "abc"
 
 static:
-  assert a == 2
-  assert c == 3
+  doAssert a == 2
+  doAssert c == 3
 
-echo b, d
+doAssert ($b & $d) == "-1abc"