summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--bootstraptest/test_method.rb5
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c097d0f89fc..65068cb7150 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Sep 22 01:49:52 2010 Koichi Sasada <ko1@atdot.net>
+
+ * bootstraptest/test_method.rb: add a test for [ruby-core:30534].
+
Wed Sep 22 00:52:44 2010 WATANABE Hirofumi <eban@ruby-lang.org>
* lib/rdoc/ri/store.rb (save_cache): remove duplicate entries.
diff --git a/bootstraptest/test_method.rb b/bootstraptest/test_method.rb
index f57bf6214e6..2f5967933c8 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]'
+