summary refs log tree commit diff stats
path: root/tests/vm/teval1.nim
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-11-14 23:14:16 +0100
committerAraq <rumpf_a@web.de>2018-11-23 11:58:28 +0100
commite012eb100109d343b7cdbe2598d439d84eda7830 (patch)
treeec977218e469415b04cc7005473f9f3358dcd553 /tests/vm/teval1.nim
parent8ea72bdceab5a13318a0269bb44990e514bf03a7 (diff)
downloadNim-e012eb100109d343b7cdbe2598d439d84eda7830.tar.gz
updated tests to be executed
Diffstat (limited to 'tests/vm/teval1.nim')
-rw-r--r--tests/vm/teval1.nim11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/vm/teval1.nim b/tests/vm/teval1.nim
index 0eaa050da..5c323f0e7 100644
--- a/tests/vm/teval1.nim
+++ b/tests/vm/teval1.nim
@@ -1,3 +1,8 @@
+
+discard """
+nimout: "##"
+"""
+
 import macros
 
 proc testProc: string {.compileTime.} =
@@ -14,9 +19,9 @@ when true:
 const
   x = testProc()
 
-echo "##", x, "##"
+doAssert x == ""
 
 # bug #1310
 static:
-    var i, j: set[int8] = {}
-    var k = i + j
+  var i, j: set[int8] = {}
+  var k = i + j