summary refs log tree commit diff stats
path: root/tests/reject
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-04-22 21:18:48 +0200
committerAraq <rumpf_a@web.de>2013-04-22 21:18:48 +0200
commit61e9bd0c485b8e5890749f6abbe464f3228c6d4e (patch)
tree1505fb2de72e1f719bce359c7d09e9857303c1bb /tests/reject
parent3c27d1a1793278ffdb6c2e8d9e9d6dc5ccf7c95d (diff)
downloadNim-61e9bd0c485b8e5890749f6abbe464f3228c6d4e.tar.gz
made some tests green
Diffstat (limited to 'tests/reject')
-rw-r--r--tests/reject/temptycaseobj.nim2
-rw-r--r--tests/reject/tind1.nim2
-rw-r--r--tests/reject/tmissingnl.nim2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/reject/temptycaseobj.nim b/tests/reject/temptycaseobj.nim
index 5977cb92b..5c012746e 100644
--- a/tests/reject/temptycaseobj.nim
+++ b/tests/reject/temptycaseobj.nim
@@ -1,6 +1,6 @@
 discard """
   line: 11
-  errormsg: "identifier expected, but found '[same indentation]'"
+  errormsg: "identifier expected, but found 'keyword of'"
 """
 
 type
diff --git a/tests/reject/tind1.nim b/tests/reject/tind1.nim
index f3f3cacf7..f3fd952cc 100644
--- a/tests/reject/tind1.nim
+++ b/tests/reject/tind1.nim
@@ -1,6 +1,6 @@
 discard """
   line: 24
-  errormsg: "invalid indentation"
+  errormsg: "expression expected, but found 'keyword else'"
 """
 
 import macros
diff --git a/tests/reject/tmissingnl.nim b/tests/reject/tmissingnl.nim
index c2f97a807..33b7debf1 100644
--- a/tests/reject/tmissingnl.nim
+++ b/tests/reject/tmissingnl.nim
@@ -1,7 +1,7 @@
 discard """
   file: "tmissingnl.nim"
   line: 7
-  errormsg: "newline expected, but found 'keyword var'"
+  errormsg: "invalid indentation"
 """
 
 import strutils var s: seq[int] = @[0, 1, 2, 3, 4, 5, 6]