summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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
-rw-r--r--tests/testament/tshouldfail.nim14
5 files changed, 18 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
diff --git a/tests/testament/tshouldfail.nim b/tests/testament/tshouldfail.nim
index a8638e236..d35dd99ac 100644
--- a/tests/testament/tshouldfail.nim
+++ b/tests/testament/tshouldfail.nim
@@ -3,15 +3,29 @@ cmd: "testament/tester --directory:testament --colors:off --backendLogging:off -
 action: compile
 nimout: '''
 FAIL: tccodecheck.nim C
+Failure: reCodegenFailure
+Expected:
+baz
 FAIL: tcolumn.nim C
+Failure: reLinesDiffer
 FAIL: terrormsg.nim C
+Failure: reMsgsDiffer
 FAIL: texitcode1.nim C
+Failure: reExitcodesDiffer
 FAIL: tfile.nim C
+Failure: reFilesDiffer
 FAIL: tline.nim C
+Failure: reLinesDiffer
 FAIL: tmaxcodesize.nim C
+Failure: reCodegenFailure
+max allowed size: 1
 FAIL: tnimout.nim C
+Failure: reMsgsDiffer
 FAIL: toutput.nim C
+Failure: reOutputsDiffer
 FAIL: toutputsub.nim C
+Failure: reOutputsDiffer
 FAIL: tsortoutput.nim C
+Failure: reOutputsDiffer
 '''
 """