diff options
Diffstat (limited to 'spec/ruby/core/unboundmethod/shared/dup.rb')
| -rw-r--r-- | spec/ruby/core/unboundmethod/shared/dup.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/unboundmethod/shared/dup.rb b/spec/ruby/core/unboundmethod/shared/dup.rb index 194e2cc1a1..fd30f75c5b 100644 --- a/spec/ruby/core/unboundmethod/shared/dup.rb +++ b/spec/ruby/core/unboundmethod/shared/dup.rb @@ -4,7 +4,7 @@ describe :unboundmethod_dup, shared: true do b = a.send(@method) a.should == b - a.should_not equal(b) + a.should_not.equal?(b) end ruby_version_is "3.4" do |
