diff options
author | Araq <rumpf_a@web.de> | 2011-11-02 02:28:18 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-11-02 02:28:18 +0100 |
commit | 1f6725e59e4afe1f803b47fb272bfe45a9b1fcea (patch) | |
tree | b6455a26544febe05266b2f527ff472ea88ba0bf /tests/reject/tmissingnl.nim | |
parent | 84c473a8901f8ae8411bdfb9f5b90d8b27e1689f (diff) | |
download | Nim-1f6725e59e4afe1f803b47fb272bfe45a9b1fcea.tar.gz |
small bugfixes to make more tests green
Diffstat (limited to 'tests/reject/tmissingnl.nim')
-rw-r--r-- | tests/reject/tmissingnl.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/reject/tmissingnl.nim b/tests/reject/tmissingnl.nim new file mode 100644 index 000000000..c2f97a807 --- /dev/null +++ b/tests/reject/tmissingnl.nim @@ -0,0 +1,10 @@ +discard """ + file: "tmissingnl.nim" + line: 7 + errormsg: "newline expected, but found 'keyword var'" +""" + +import strutils var s: seq[int] = @[0, 1, 2, 3, 4, 5, 6] + +#s[1..3] = @[] + |