ruby-changes:69828
From: Jeremy <ko1@a...>
Date: Sat, 20 Nov 2021 04:11:09 +0900 (JST)
Subject: [ruby-changes:69828] 3c92516519 (master): Fix test_super_with_anonymous_block test to use anonymous block
https://git.ruby-lang.org/ruby.git/commit/?id=3c92516519 From 3c92516519bf0cf3ed586462f947ed8c4ed64abd Mon Sep 17 00:00:00 2001 From: Jeremy Evans <code@j...> Date: Fri, 19 Nov 2021 10:00:13 -0800 Subject: Fix test_super_with_anonymous_block test to use anonymous block --- test/ruby/test_iseq.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_iseq.rb b/test/ruby/test_iseq.rb index 49f12019dcf..816875e6fc8 100644 --- a/test/ruby/test_iseq.rb +++ b/test/ruby/test_iseq.rb @@ -127,7 +127,7 @@ class TestISeq < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_iseq.rb#L127 def test_super_with_anonymous_block iseq = compile(<<~EOF) - def touch3(&block) # :nodoc: + def touch3(&) # :nodoc: foo { super } end 42 -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/