new tester; all tests categorized
This commit is contained in:
parent
51ee524109
commit
20b5f31c03
481 changed files with 794 additions and 2506 deletions
|
|
@ -1,18 +0,0 @@
|
|||
discard """
|
||||
line: 13
|
||||
errormsg: "duplicate case label"
|
||||
"""
|
||||
|
||||
|
||||
|
||||
|
||||
proc checkDuplicates(myval: int32): bool =
|
||||
case myval
|
||||
of 0x7B:
|
||||
echo "this should not compile"
|
||||
of 0x78 .. 0x7D:
|
||||
result = true
|
||||
else:
|
||||
nil
|
||||
|
||||
echo checkDuplicates(0x7B)
|
||||
Loading…
Add table
Add a link
Reference in a new issue