summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-08-10 17:27:30 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-08-10 17:27:30 +0200
commit32afc1a562579d38e82ebb385186767dfb1bc3c8 (patch)
tree6449f4d903e0a713ac96b61a5ae5736b891e65b5 /examples
parent60c7a0a08ff3beb48cd1a4885646168007b827a0 (diff)
downloadNim-32afc1a562579d38e82ebb385186767dfb1bc3c8.tar.gz
make tests green again
Diffstat (limited to 'examples')
-rw-r--r--examples/tunit.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tunit.nim b/examples/tunit.nim
index 26bcafda1..785b9aa5e 100644
--- a/examples/tunit.nim
+++ b/examples/tunit.nim
@@ -42,6 +42,6 @@ test "arithmetic failure":
   expect(ArithmeticError):
     err()
 
-  expect(ArithmeticError, SystemError):
+  expect(ArithmeticError, CatchableError):
     discard foo()