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) ...@@ -175,7 +175,7 @@ def assert_nothing_raised(msg = nil)
yield yield
true true
rescue Exception => e 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" + diff = " Class: <#{e.class}>\n" +
" Message: #{e.message}" " Message: #{e.message}"
$mrbtest_assert.push [$mrbtest_assert_idx, msg, diff] $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