summary refs log tree commit diff stats
path: root/testament/tests/shouldfail/tline.nim
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-11-27 10:00:32 +0100
committerAndreas Rumpf <rumpf_a@web.de>2018-11-27 10:00:32 +0100
commitcc0364e72f14531466eec367f10f72e4bcd9168e (patch)
tree0e8bcfd402f6ca02f57a624feb7a00bfaccee00d /testament/tests/shouldfail/tline.nim
parent89907647090390d846dbfc3e31b19dd6deac746e (diff)
downloadNim-cc0364e72f14531466eec367f10f72e4bcd9168e.tar.gz
Tester tests (#9787)
* remove --lib:lib
* added some tests for testatment
* tests are addad WIP: add colors switch to tester
* meta tester is integrated
Diffstat (limited to 'testament/tests/shouldfail/tline.nim')
-rw-r--r--testament/tests/shouldfail/tline.nim8
1 files changed, 8 insertions, 0 deletions
diff --git a/testament/tests/shouldfail/tline.nim b/testament/tests/shouldfail/tline.nim
new file mode 100644
index 000000000..963e44fc7
--- /dev/null
+++ b/testament/tests/shouldfail/tline.nim
@@ -0,0 +1,8 @@
+discard """
+line: 9
+column: 6
+errormsg: "undeclared identifier: 'undeclared'"
+"""
+
+# test should fail because the line directive is wrong
+echo undeclared