diff options
Diffstat (limited to 'tests/exception/tcontinuexc.nim')
-rw-r--r-- | tests/exception/tcontinuexc.nim | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/exception/tcontinuexc.nim b/tests/exception/tcontinuexc.nim index fb9b523d7..b7560a605 100644 --- a/tests/exception/tcontinuexc.nim +++ b/tests/exception/tcontinuexc.nim @@ -1,11 +1,10 @@ discard """ - file: "tcontinuexc.nim" outputsub: "ECcaught" exitcode: "1" """ type - ESomething = object of E_Base - ESomeOtherErr = object of E_Base + ESomething = object of Exception + ESomeOtherErr = object of Exception proc genErrors(s: string) = if s == "error!": @@ -25,6 +24,3 @@ finally: echo "caught" #OUT ECcaught - - - |