mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Added known bug from ruby-core:14537
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1421b85ea2
commit
37d1059f49
1 changed files with 9 additions and 0 deletions
|
@ -3,4 +3,13 @@
|
||||||
# So all tests will cause failure.
|
# So all tests will cause failure.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
assert_equal 'ok', %q{
|
||||||
|
class X < RuntimeError;end
|
||||||
|
x = [X]
|
||||||
|
begin
|
||||||
|
raise X
|
||||||
|
rescue *x
|
||||||
|
:ok
|
||||||
|
end
|
||||||
|
}, '[ruby-core:14537]'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue