From cbb7dc21a823e8b09341860d8737ed24ee1ce1b8 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 29 Jun 2019 19:17:51 +0900 Subject: [PATCH] Fix predicate to assert if object is same --- spec/ruby/library/socket/ancillarydata/ipv6_pktinfo_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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