more tests green

This commit is contained in:
Araq 2014-08-31 17:23:35 +02:00
commit d7d059a686
16 changed files with 79 additions and 79 deletions

View file

@ -4,8 +4,8 @@ discard """
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!":
@ -13,7 +13,7 @@ proc genErrors(s: string) =
else:
raise newException(EsomeotherErr, "bla")
when True:
when true:
try:
genErrors("errssor!")
except ESomething: