ruby-changes:54577
From: nobu <ko1@a...>
Date: Fri, 11 Jan 2019 17:44:46 +0900 (JST)
Subject: [ruby-changes:54577] nobu:r66792 (trunk): Fix r66791
nobu 2019-01-11 17:44:41 +0900 (Fri, 11 Jan 2019) New Revision: 66792 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66792 Log: Fix r66791 Modified files: trunk/spec/ruby/core/proc/block_pass_spec.rb Index: spec/ruby/core/proc/block_pass_spec.rb =================================================================== --- spec/ruby/core/proc/block_pass_spec.rb (revision 66791) +++ spec/ruby/core/proc/block_pass_spec.rb (revision 66792) @@ -28,7 +28,6 @@ ruby_version_is ""..."2.8" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/proc/block_pass_spec.rb#L28 it "remains the same object if re-vivified by the target method" do warning = ruby_version_is("2.7") {/tried to create Proc object without a block/} - warning ||= '' p = Proc.new {} p2 = nil -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/