diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-29 19:17:51 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-29 19:17:51 +0900 |
commit | cbb7dc21a823e8b09341860d8737ed24ee1ce1b8 (patch) | |
tree | 46eda770e154648b3206e6cd26622346cfbb9f42 /spec | |
parent | 792d1deb949e8416d7a76d66771b286d35c8278d (diff) |
Fix predicate to assert if object is same
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ruby/library/socket/ancillarydata/ipv6_pktinfo_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/socket/ancillarydata/ipv6_pktinfo_spec.rb b/spec/ruby/library/socket/ancillarydata/ipv6_pktinfo_spec.rb index dfaa5bf0f5..6f576f5169 100644 --- a/spec/ruby/library/socket/ancillarydata/ipv6_pktinfo_spec.rb +++ b/spec/ruby/library/socket/ancillarydata/ipv6_pktinfo_spec.rb @@ -58,7 +58,7 @@ with_feature :ancillary_data, :ipv6_pktinfo do end it 'is not the same object as the input Addrinfo' do - @addr.should_not == @source + @addr.should_not.equal? @source end end |