Commit 072d98dd authored by Carson McDonald's avatar Carson McDonald

Test for raise in ensure

parent f5cca078
...@@ -345,3 +345,15 @@ assert('Exception#backtrace') do ...@@ -345,3 +345,15 @@ assert('Exception#backtrace') do
true true
end 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