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,5 +1,4 @@
|
|||
discard """
|
||||
file: "twrongexc.nim"
|
||||
outputsub: "Error: unhandled exception: [ValueError]"
|
||||
exitcode: "1"
|
||||
"""
|
||||
|
|
@ -7,7 +6,3 @@ try:
|
|||
raise newException(ValueError, "")
|
||||
except OverflowError:
|
||||
echo("Error caught")
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue