summary refs log tree commit diff stats
path: root/tests/exception/texcsub.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exception/texcsub.nim')
-rw-r--r--tests/exception/texcsub.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/exception/texcsub.nim b/tests/exception/texcsub.nim
index 3dba357f9..02125d2c0 100644
--- a/tests/exception/texcsub.nim
+++ b/tests/exception/texcsub.nim
@@ -5,12 +5,12 @@ discard """
 # Test inheritance for exception matching:
 
 try:
-  raise newException(EOS, "dummy message")
-except E_Base:
+  raise newException(OSError, "dummy message")
+except Exception:
   echo "caught!"
-except: 
+except:
   echo "wtf!?"
-  
+
 #OUT caught!