summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2026-02-10 16:18:50 +0100
committerBenoit Daloze <eregontp@gmail.com>2026-02-10 16:51:04 +0100
commit1a3ba1b6dd202ffe27d5adfc63e767684b559921 (patch)
treef6c69fa74e714fe1df7718d4496c1d464a26ec14
parent49f44b1ddd0c0da2cb734d91a441c3bbaf11ecf0 (diff)
Use a ruby_bug guard since this bug fix will likely be backported
* And it should be tested on current versions of other Ruby implementations.
-rw-r--r--spec/ruby/core/unboundmethod/equal_value_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/unboundmethod/equal_value_spec.rb b/spec/ruby/core/unboundmethod/equal_value_spec.rb
index c2982766e9..2dcf08e155 100644
--- a/spec/ruby/core/unboundmethod/equal_value_spec.rb
+++ b/spec/ruby/core/unboundmethod/equal_value_spec.rb
@@ -97,7 +97,7 @@ describe "UnboundMethod#==" do
(@includer == @includee).should == true
end
- ruby_version_is "4.1" do
+ ruby_bug "#21873", ""..."4.1" do
it "returns true if same method is present in an object through module inclusion" do
(@mixin == @includer_base).should == true
(@includer_base == @mixin).should == true