mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add test for [ruby-dev:31153].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4bb5091496
commit
853999fb20
1 changed files with 9 additions and 0 deletions
|
@ -382,3 +382,12 @@ assert_equal 'nil', %q{
|
|||
m {|(v,(*))|}.inspect
|
||||
}
|
||||
|
||||
|
||||
# [ruby-dev:31153]
|
||||
assert_equal 'nil', %q{
|
||||
def m()
|
||||
yield
|
||||
end
|
||||
m {|(*,a,b)|}.inspect
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue