summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/assert.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/assert.rb b/test/assert.rb
index 5cca59187..2fc11f149 100644
--- a/test/assert.rb
+++ b/test/assert.rb
@@ -32,7 +32,7 @@ def assert(str = 'Assertion failed', iso = '')
$ok_test += 1
print('.')
end
- rescue => e
+ rescue Exception => e
$asserts.push(['Error: ', str, iso, e])
$kill_test += 1
print('X')