mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix test_super_with_anonymous_block test to use anonymous block
This commit is contained in:
parent
e9735ec206
commit
3c92516519
Notes:
git
2021-11-20 04:05:30 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class TestISeq < Test::Unit::TestCase
|
|||
|
||||
def test_super_with_anonymous_block
|
||||
iseq = compile(<<~EOF)
|
||||
def touch3(&block) # :nodoc:
|
||||
def touch3(&) # :nodoc:
|
||||
foo { super }
|
||||
end
|
||||
42
|
||||
|
|
Loading…
Add table
Reference in a new issue