summary refs log tree commit diff stats
path: root/tests/lexer
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-11-05 13:02:46 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-11-05 13:02:46 +0100
commite32bfef5ccdfc19a67cbc3a783cc53179b142fe5 (patch)
tree39474bef933bb38bdebc6fd4819f09f911ca53e7 /tests/lexer
parentcd6d734f8bd447e61caee2b135dad6a528587c3d (diff)
downloadNim-e32bfef5ccdfc19a67cbc3a783cc53179b142fe5.tar.gz
make tests green again
Diffstat (limited to 'tests/lexer')
-rw-r--r--tests/lexer/tind1.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lexer/tind1.nim b/tests/lexer/tind1.nim
index 8a2aea9b2..ffbde48fd 100644
--- a/tests/lexer/tind1.nim
+++ b/tests/lexer/tind1.nim
@@ -1,6 +1,6 @@
 discard """
   line: 24
-  errormsg: "expression expected, but found 'keyword else'"
+  errormsg: "invalid indentation"
 """
 
 import macros
@@ -11,7 +11,7 @@ var x = if 4 != 5:
   else:
     "no"
 
-macro mymacro(n): untyped {.immediate.} =
+macro mymacro(n, b): untyped =
   discard
 
 mymacro: