Commit 9377da97 authored by dearblue's avatar dearblue

Fix undefined variable is using

parent aeafce23
......@@ -175,7 +175,7 @@ def assert_nothing_raised(msg = nil)
yield
true
rescue Exception => e
msg ||= "Expected not to raise #{exc.join(', ')} but it raised"
msg ||= "Expected not to raise #{e} but it raised"
diff = " Class: <#{e.class}>\n" +
" Message: #{e.message}"
$mrbtest_assert.push [$mrbtest_assert_idx, msg, diff]
......
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