tshouldfail is stricter

This commit is contained in:
Arne Döring 2018-11-30 14:28:18 +01:00 • committed by Araq
commit fb1f5c62b5
5 changed files with 18 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -1,6 +1,6 @@
discard """
file: "notthisfile.nim"
errmsg: "undeclared identifier: 'undefined'"
file: "notthisfile.nim"
"""
echo undefined

View file

@ -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