more tests green

This commit is contained in:
Araq 2014-08-31 17:23:35 +02:00
commit d7d059a686
16 changed files with 79 additions and 79 deletions

View file

@ -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")