require errormsg to be specified before file.
This commit is contained in:
parent
ca394ebd95
commit
1105d03644
264 changed files with 305 additions and 623 deletions
|
|
@ -1,6 +1,6 @@
|
|||
discard """
|
||||
line: 6
|
||||
errormsg: "cannot convert 6 to range 1..5(int8)"
|
||||
line: 6
|
||||
"""
|
||||
|
||||
var c: set[range[1i8..5i8]] = {1i8, 2i8, 6i8}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
discard """
|
||||
file: "tsets.nim"
|
||||
output: '''Ha ein F ist in s!
|
||||
false'''
|
||||
output: '''
|
||||
Ha ein F ist in s!
|
||||
false
|
||||
'''
|
||||
"""
|
||||
# Test the handling of sets
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue