Commit 3eb3c99a authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1982 from ksss/err-msg

Show error class name when raise Error
parents a85fdbdb 15eabcdb
......@@ -60,7 +60,7 @@ def assert(str = 'Assertion failed', iso = '')
$asserts.push "Skip: #{str} #{iso} #{e.cause}"
t_print('?')
else
$asserts.push(assertion_string('Error: ', str, iso, e))
$asserts.push(assertion_string("#{e.class}: ", str, iso, e))
$kill_test += 1
t_print('X')
end
......
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