Unverified Commit 281d0ff4 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4193 from dearblue/fix-assert-variable

Fix undefined variable is using
parents aeafce23 9377da97
......@@ -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