update tests that tested for the 'discard' error messages
This commit is contained in:
parent
7f1d2489ad
commit
ff1c0bae4c
5 changed files with 12 additions and 12 deletions
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
errormsg: "expression 'result[1 .. BackwardsIndex(1)]' is of type 'string' and has to be discarded"
|
||||
errormsg: "expression 'result[1 .. BackwardsIndex(1)]' is of type 'string' and has to be used (or discarded)"
|
||||
line: 10
|
||||
"""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
errormsg: "expression '5' is of type 'int literal(5)' and has to be discarded"
|
||||
errormsg: "expression '5' is of type 'int literal(5)' and has to be used (or discarded)"
|
||||
file: "tstmtexp.nim"
|
||||
line: 8
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue