diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-13 03:44:53 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-13 03:44:53 +0000 |
| commit | fce402070cb3c6fa72198fca16db2a36f54d3994 (patch) | |
| tree | 9fd5b42b61643656328ce3876ab4eeacfc4ddb6b | |
| parent | 1ae43fce91411537ababb3a83a441d5e7161ff59 (diff) | |
| download | ruby-fce402070cb3c6fa72198fca16db2a36f54d3994.tar.gz ruby-fce402070cb3c6fa72198fca16db2a36f54d3994.tar.xz ruby-fce402070cb3c6fa72198fca16db2a36f54d3994.zip | |
add test for [ruby-dev:31153].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | bootstraptest/test_block.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstraptest/test_block.rb b/bootstraptest/test_block.rb index 57bdb6e57..602909a9b 100644 --- a/bootstraptest/test_block.rb +++ b/bootstraptest/test_block.rb @@ -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 +} + |
