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):
|
expect(ArithmeticError):
|
||||||
err()
|
err()
|
||||||
|
|
||||||
expect(ArithmeticError, SystemError):
|
expect(ArithmeticError, CatchableError):
|
||||||
discard foo()
|
discard foo()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@ proc parseResponse(): JsonNode =
|
||||||
var excMsg = key & "("
|
var excMsg = key & "("
|
||||||
if (var n=result["key2"]; n != nil):
|
if (var n=result["key2"]; n != nil):
|
||||||
excMsg &= n.str
|
excMsg &= n.str
|
||||||
raise newException(SystemError, excMsg)
|
raise newException(CatchableError, excMsg)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue