summaryrefslogtreecommitdiff
path: root/bootstraptest/test_method.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-21 16:53:06 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-21 16:53:06 +0000
commit9831508ba3296789f9d00ef4296e7b75d2d8b965 (patch)
tree2078cc92df58a4a9ddf6f53c611a675d707ef436 /bootstraptest/test_method.rb
parentc72e6c7b869fa8f454c495cda4dee49d4c72487b (diff)
downloadruby-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.rb5
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]'
+