summary refs log tree commit diff stats
path: root/tests/exception/twrongexc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exception/twrongexc.nim')
-rw-r--r--tests/exception/twrongexc.nim2
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")