Commit b0477f1d authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge branch 'add-exception-test' of https://github.com/yui-knk/mruby into...

Merge branch 'add-exception-test' of https://github.com/yui-knk/mruby into yui-knk-add-exception-test
parents c4268f67 f55851cb
......@@ -375,3 +375,13 @@ assert('Raise in ensure') do
end
end
assert('Raise in rescue') do
assert_raise(ArgumentError) do
begin
raise "" # StandardError
rescue
raise ArgumentError
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