update raise in ensure test

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