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 """
|
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
|
line: 10
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
discard """
|
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"
|
file: "tstmtexp.nim"
|
||||||
line: 8
|
line: 8
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
discard """
|
discard """
|
||||||
errormsg: "expression '123' is of type 'int literal(123)' and has to be discarded"
|
errormsg: "expression '123' is of type 'int literal(123)' and has to be used (or discarded)"
|
||||||
line: 71
|
line: 71
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
discard """
|
discard """
|
||||||
errormsg: "has to be discarded"
|
errormsg: "has to be used (or discarded)"
|
||||||
line: 7
|
line: 7
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
discard """
|
discard """
|
||||||
errormsg: "has to be discarded"
|
errormsg: "has to be used (or discarded)"
|
||||||
line: 27
|
line: 27
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue