From 515bd4214497b3af02f6eef51b496ad9a0cf6b3b Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Mon, 26 Jun 2023 15:55:11 +0200 Subject: Update to ruby/spec@30e1c35 --- spec/ruby/core/proc/shared/equal.rb | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'spec/ruby/core/proc/shared') diff --git a/spec/ruby/core/proc/shared/equal.rb b/spec/ruby/core/proc/shared/equal.rb index 0c0020ca7f..d0503fb064 100644 --- a/spec/ruby/core/proc/shared/equal.rb +++ b/spec/ruby/core/proc/shared/equal.rb @@ -81,20 +81,3 @@ describe :proc_equal, shared: true do p.send(@method, p2).should be_false end end - -describe :proc_equal_undefined, shared: true do - it "is not defined" do - Proc.should_not have_instance_method(@method, false) - end - - it "returns false if other is a dup of the original" do - p = proc { :foo } - p.send(@method, p.dup).should be_false - - p = Proc.new { :foo } - p.send(@method, p.dup).should be_false - - p = -> { :foo } - p.send(@method, p.dup).should be_false - end -end -- cgit v1.2.3