more tests green
This commit is contained in:
parent
93eb9c456d
commit
d7d059a686
16 changed files with 79 additions and 79 deletions
|
|
@ -1,11 +1,11 @@
|
|||
discard """
|
||||
file: "twrongexc.nim"
|
||||
outputsub: "Error: unhandled exception: [EInvalidValue]"
|
||||
outputsub: "Error: unhandled exception: [ValueError]"
|
||||
exitcode: "1"
|
||||
"""
|
||||
try:
|
||||
raise newException(EInvalidValue, "")
|
||||
except EOverflow:
|
||||
raise newException(ValueError, "")
|
||||
except OverflowError:
|
||||
echo("Error caught")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue