This reverts commit 0adb47aa15.
This commit is contained in:
parent
969cb97c0a
commit
fd8b79707c
2 changed files with 2 additions and 10 deletions
|
|
@ -6,10 +6,3 @@ let ex = newException(CatchableError, "test")
|
|||
setCurrentException(ex)
|
||||
doAssert getCurrentException().msg == ex.msg
|
||||
doAssert getCurrentExceptionMsg() == ex.msg
|
||||
setCurrentException(nil)
|
||||
|
||||
try:
|
||||
raise newException(CatchableError, "test2")
|
||||
except:
|
||||
setCurrentException(nil)
|
||||
doAssert getCurrentException() == nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue