mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add test for [ruby-dev:31609].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2656b0545e
commit
089cfabaf0
1 changed files with 8 additions and 0 deletions
|
@ -12,3 +12,11 @@ assert_equal 'ok', %q{
|
|||
m {|(r)|}
|
||||
r
|
||||
}, '[ruby-dev:31507]'
|
||||
|
||||
assert_equal 'ok', %q{
|
||||
begin
|
||||
catch {|t| throw t, :ok }
|
||||
rescue ArgumentError
|
||||
:ng
|
||||
end
|
||||
}, '[ruby-dev:31609]'
|
||||
|
|
Loading…
Reference in a new issue