tshouldfail is stricter
This commit is contained in:
parent
1105d03644
commit
fb1f5c62b5
5 changed files with 18 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
discard """
|
discard """
|
||||||
|
errormsg: "undeclared identifier: 'undeclared'"
|
||||||
line: 8
|
line: 8
|
||||||
column: 7
|
column: 7
|
||||||
errormsg: "undeclared identifier: 'undeclared'"
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# test should fail because the line directive is wrong
|
# test should fail because the line directive is wrong
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
discard """
|
discard """
|
||||||
|
errormsg: "wrong error message"
|
||||||
line: 8
|
line: 8
|
||||||
column: 6
|
column: 6
|
||||||
errormsg: "wrong error message"
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# test should fail because the line directive is wrong
|
# test should fail because the line directive is wrong
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
discard """
|
discard """
|
||||||
file: "notthisfile.nim"
|
|
||||||
errmsg: "undeclared identifier: 'undefined'"
|
errmsg: "undeclared identifier: 'undefined'"
|
||||||
|
file: "notthisfile.nim"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
echo undefined
|
echo undefined
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
discard """
|
discard """
|
||||||
|
errormsg: "undeclared identifier: 'undeclared'"
|
||||||
line: 9
|
line: 9
|
||||||
column: 6
|
column: 6
|
||||||
errormsg: "undeclared identifier: 'undeclared'"
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# test should fail because the line directive is wrong
|
# test should fail because the line directive is wrong
|
||||||
|
|
|
||||||
|
|
@ -3,15 +3,29 @@ cmd: "testament/tester --directory:testament --colors:off --backendLogging:off -
|
||||||
action: compile
|
action: compile
|
||||||
nimout: '''
|
nimout: '''
|
||||||
FAIL: tccodecheck.nim C
|
FAIL: tccodecheck.nim C
|
||||||
|
Failure: reCodegenFailure
|
||||||
|
Expected:
|
||||||
|
baz
|
||||||
FAIL: tcolumn.nim C
|
FAIL: tcolumn.nim C
|
||||||
|
Failure: reLinesDiffer
|
||||||
FAIL: terrormsg.nim C
|
FAIL: terrormsg.nim C
|
||||||
|
Failure: reMsgsDiffer
|
||||||
FAIL: texitcode1.nim C
|
FAIL: texitcode1.nim C
|
||||||
|
Failure: reExitcodesDiffer
|
||||||
FAIL: tfile.nim C
|
FAIL: tfile.nim C
|
||||||
|
Failure: reFilesDiffer
|
||||||
FAIL: tline.nim C
|
FAIL: tline.nim C
|
||||||
|
Failure: reLinesDiffer
|
||||||
FAIL: tmaxcodesize.nim C
|
FAIL: tmaxcodesize.nim C
|
||||||
|
Failure: reCodegenFailure
|
||||||
|
max allowed size: 1
|
||||||
FAIL: tnimout.nim C
|
FAIL: tnimout.nim C
|
||||||
|
Failure: reMsgsDiffer
|
||||||
FAIL: toutput.nim C
|
FAIL: toutput.nim C
|
||||||
|
Failure: reOutputsDiffer
|
||||||
FAIL: toutputsub.nim C
|
FAIL: toutputsub.nim C
|
||||||
|
Failure: reOutputsDiffer
|
||||||
FAIL: tsortoutput.nim C
|
FAIL: tsortoutput.nim C
|
||||||
|
Failure: reOutputsDiffer
|
||||||
'''
|
'''
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue