make tests green again
This commit is contained in:
parent
60c7a0a08f
commit
32afc1a562
2 changed files with 2 additions and 2 deletions
|
|
@ -42,6 +42,6 @@ test "arithmetic failure":
|
|||
expect(ArithmeticError):
|
||||
err()
|
||||
|
||||
expect(ArithmeticError, SystemError):
|
||||
expect(ArithmeticError, CatchableError):
|
||||
discard foo()
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ proc parseResponse(): JsonNode =
|
|||
var excMsg = key & "("
|
||||
if (var n=result["key2"]; n != nil):
|
||||
excMsg &= n.str
|
||||
raise newException(SystemError, excMsg)
|
||||
raise newException(CatchableError, excMsg)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue