mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_proc.rb (TestProc#test_block_given_method_to_proc):
run test for r41359. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
62bd8db198
commit
cc9a7adeac
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Jun 17 22:16:02 2013 Kazuki Tsujimoto <kazuki@callcc.net>
|
||||
|
||||
* test/ruby/test_proc.rb (TestProc#test_block_given_method_to_proc):
|
||||
run test for r41359.
|
||||
|
||||
Mon Jun 17 21:42:18 2013 Kazuki Tsujimoto <kazuki@callcc.net>
|
||||
|
||||
* include/ruby/ruby.h, vm_eval.c (rb_funcall_with_block):
|
||||
|
|
|
@ -191,7 +191,6 @@ class TestProc < Test::Unit::TestCase
|
|||
|
||||
def test_block_given_method_to_proc
|
||||
bug8341 = '[Bug #8341]'
|
||||
skip bug8341
|
||||
m = method(:m_block_given?).to_proc
|
||||
assert(!m.call, "#{bug8341} without block")
|
||||
assert(m.call {}, "#{bug8341} with block")
|
||||
|
|
Loading…
Reference in a new issue