summary refs log tree commit diff stats
path: root/testament
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-11-30 14:28:18 +0100
committerAraq <rumpf_a@web.de>2018-12-11 21:23:21 +0100
commitfb1f5c62b5e74b1a532ddfe9d6c373fc61eff878 (patch)
tree60fd71f06a3554e4031095d8c695755d32dbdc05 /testament
parent1105d0364401226a2d7d479bd89d77a9da9ed787 (diff)
downloadNim-fb1f5c62b5e74b1a532ddfe9d6c373fc61eff878.tar.gz
tshouldfail is stricter
Diffstat (limited to 'testament')
-rw-r--r--testament/tests/shouldfail/tcolumn.nim2
-rw-r--r--testament/tests/shouldfail/terrormsg.nim2
-rw-r--r--testament/tests/shouldfail/tfile.nim2
-rw-r--r--testament/tests/shouldfail/tline.nim2
4 files changed, 4 insertions, 4 deletions
diff --git a/testament/tests/shouldfail/tcolumn.nim b/testament/tests/shouldfail/tcolumn.nim
index f4046d58d..89482e673 100644
--- a/testament/tests/shouldfail/tcolumn.nim
+++ b/testament/tests/shouldfail/tcolumn.nim
@@ -1,7 +1,7 @@
 discard """
+errormsg: "undeclared identifier: 'undeclared'"
 line: 8
 column: 7
-errormsg: "undeclared identifier: 'undeclared'"
 """
 
 # test should fail because the line directive is wrong
diff --git a/testament/tests/shouldfail/terrormsg.nim b/testament/tests/shouldfail/terrormsg.nim
index 61c08d93d..dbbdf5021 100644
--- a/testament/tests/shouldfail/terrormsg.nim
+++ b/testament/tests/shouldfail/terrormsg.nim
@@ -1,7 +1,7 @@
 discard """
+errormsg: "wrong error message"
 line: 8
 column: 6
-errormsg: "wrong error message"
 """
 
 # test should fail because the line directive is wrong
diff --git a/testament/tests/shouldfail/tfile.nim b/testament/tests/shouldfail/tfile.nim
index 07a526c68..a6c2ad359 100644
--- a/testament/tests/shouldfail/tfile.nim
+++ b/testament/tests/shouldfail/tfile.nim
@@ -1,6 +1,6 @@
 discard """
-file: "notthisfile.nim"
 errmsg: "undeclared identifier: 'undefined'"
+file: "notthisfile.nim"
 """
 
 echo undefined
diff --git a/testament/tests/shouldfail/tline.nim b/testament/tests/shouldfail/tline.nim
index 963e44fc7..f7a09875c 100644
--- a/testament/tests/shouldfail/tline.nim
+++ b/testament/tests/shouldfail/tline.nim
@@ -1,7 +1,7 @@
 discard """
+errormsg: "undeclared identifier: 'undeclared'"
 line: 9
 column: 6
-errormsg: "undeclared identifier: 'undeclared'"
 """
 
 # test should fail because the line directive is wrong