diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-21 16:53:06 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-21 16:53:06 +0000 |
commit | 9831508ba3296789f9d00ef4296e7b75d2d8b965 (patch) | |
tree | 2078cc92df58a4a9ddf6f53c611a675d707ef436 /bootstraptest/test_method.rb | |
parent | c72e6c7b869fa8f454c495cda4dee49d4c72487b (diff) | |
download | ruby-9831508ba3296789f9d00ef4296e7b75d2d8b965.tar.gz |
bootstraptest/test_method.rb: add a test for [ruby-core:30534].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_method.rb')
-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]' + |