diff options
author | Araq <rumpf_a@web.de> | 2013-04-22 21:18:48 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-04-22 21:18:48 +0200 |
commit | 61e9bd0c485b8e5890749f6abbe464f3228c6d4e (patch) | |
tree | 1505fb2de72e1f719bce359c7d09e9857303c1bb /tests/reject | |
parent | 3c27d1a1793278ffdb6c2e8d9e9d6dc5ccf7c95d (diff) | |
download | Nim-61e9bd0c485b8e5890749f6abbe464f3228c6d4e.tar.gz |
made some tests green
Diffstat (limited to 'tests/reject')
-rw-r--r-- | tests/reject/temptycaseobj.nim | 2 | ||||
-rw-r--r-- | tests/reject/tind1.nim | 2 | ||||
-rw-r--r-- | tests/reject/tmissingnl.nim | 2 |
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] |