1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

add test for [ruby-dev:31472].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-08-18 03:47:03 +00:00
parent f62fff5f41
commit 4a6335717f

View file

@ -432,4 +432,13 @@ assert_equal 'ok', %q{
:ng :ng
end end
}, '[ruby-dev:31464]' }, '[ruby-dev:31464]'
assert_equal 'ok', %q{
begin
lambda{|&b|}.call(3)
rescue ArgumentError
:ok
else
:ng
end
}, '[ruby-dev:31472]'