summaryrefslogtreecommitdiff
path: root/test/ruby/test_proc.rb
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-17 12:38:52 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-17 12:38:52 +0000
commit1720a5bac44b590205257cf3acd0a3071738e6ec (patch)
tree8e04382b720437bb714b20163cfd28a5b3f135e7 /test/ruby/test_proc.rb
parentb7cec43c8bea18f15ac24b5ae02c66e36b4d904f (diff)
* include/ruby/intern.h, proc.c (rb_method_call_with_block):
new function to invoke a Method object with a block passed as an argument. * proc.c (bmcall): use the above function to avoid a block sharing. [ruby-core:54626] [Bug #8341] * test/ruby/test_proc.rb (TestProc#test_block_persist_between_calls): run related tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_proc.rb')
-rw-r--r--test/ruby/test_proc.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/ruby/test_proc.rb b/test/ruby/test_proc.rb
index 57f28dafeb..c5352e342e 100644
--- a/test/ruby/test_proc.rb
+++ b/test/ruby/test_proc.rb
@@ -200,7 +200,6 @@ class TestProc < Test::Unit::TestCase
def test_block_persist_between_calls
bug8341 = '[Bug #8341]'
- skip bug8341
o = Object.new
def o.m1(top=true)
if top