Commit 91fbbe2f authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1644 from carsonmcdonald/testraiseinensure

Test for raise in ensure
parents 3c7ab32e 072d98dd
......@@ -345,3 +345,15 @@ assert('Exception#backtrace') do
true
end
assert('Raise in ensure') do
assert_raise(RuntimeError) do
begin
raise ""
ensure
raise ""
end
end
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