Commit b692b39d authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #266 from monaka/pr-assert-should-handle-all-exceptions

Assert should handle all exceptions.
parents 3b1b9b05 bddbf207
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment