update raise in ensure test

parent 3fc8f043
......@@ -365,15 +365,13 @@ assert('Exception#backtrace') do
end
assert('Raise in ensure') do
assert_raise(RuntimeError) do
assert_raise(ArgumentError) do
begin
raise ""
raise "" # RuntimeError
ensure
raise ""
raise ArgumentError
end
end
end
assert('Raise in rescue') do
......
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