diff options
Diffstat (limited to 'tests/exception/twrongexc.nim')
-rw-r--r-- | tests/exception/twrongexc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/exception/twrongexc.nim b/tests/exception/twrongexc.nim index 9c656f3d9..d229c5749 100644 --- a/tests/exception/twrongexc.nim +++ b/tests/exception/twrongexc.nim @@ -4,5 +4,5 @@ discard """ """ try: raise newException(ValueError, "") -except OverflowError: +except OverflowDefect: echo("Error caught") |