diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-24 09:37:43 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-24 09:37:43 +0000 |
commit | dc13657af012fd2b8cb4ac772c5276c93ad71a2e (patch) | |
tree | b16ebddee1ade84d8b6bf89aa3ed7dee045fe90e /bootstraptest | |
parent | 29160356f2166e8b11d5fd1fa70da85579914437 (diff) |
merges r29313 from trunk into ruby_1_9_2.
--
bootstraptest/test_method.rb: add a test for [ruby-core:30534].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_method.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bootstraptest/test_method.rb b/bootstraptest/test_method.rb index f57bf6214e..2f5967933c 100644 --- a/bootstraptest/test_method.rb +++ b/bootstraptest/test_method.rb @@ -1175,3 +1175,8 @@ assert_equal 'ok', %q{ 'ok' end } +assert_equal 'ok', %q{ + p [0][0, &proc{}] += 21 + 'ok' +}, '[ruby-core:30534]' + |