diff options
Diffstat (limited to 'spec/ruby/core/method/shared/dup.rb')
| -rw-r--r-- | spec/ruby/core/method/shared/dup.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/method/shared/dup.rb b/spec/ruby/core/method/shared/dup.rb index c74847083f..eee790890a 100644 --- a/spec/ruby/core/method/shared/dup.rb +++ b/spec/ruby/core/method/shared/dup.rb @@ -4,7 +4,7 @@ describe :method_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 |
