summary refs log tree commit diff stats
path: root/tests/macros
diff options
context:
space:
mode:
Diffstat (limited to 'tests/macros')
-rw-r--r--tests/macros/ttryparseexpr.nim5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/macros/ttryparseexpr.nim b/tests/macros/ttryparseexpr.nim
index d1084937b..fc0ee61d0 100644
--- a/tests/macros/ttryparseexpr.nim
+++ b/tests/macros/ttryparseexpr.nim
@@ -1,5 +1,5 @@
 discard """
-  outputsub: '''Error: expression expected, but found '[EOF]' -- 45'''
+  outputsub: '''Error: expression expected, but found '[EOF]' 45'''
 """
 
 # feature request #1473
@@ -9,7 +9,6 @@ macro test(text: string): untyped =
   try:
     result = parseExpr(text.strVal)
   except ValueError:
-    echo text
     result = newLit getCurrentExceptionMsg()
 
 const
@@ -18,4 +17,4 @@ const
   b = test("valid")
   c = test("\"") # bug #2504
 
-echo a, " -- ", b
+echo a, " ", b