Fix predicate to assert if object is same

This commit is contained in:
Nobuyoshi Nakada 2019-06-29 21:45:59 +09:00
parent cbb7dc21a8
commit 9f648262f9
No known key found for this signature in database
GPG Key ID: 4BC7D6DF58D8DF60

View File

@ -89,7 +89,7 @@ with_feature :ancillary_data, :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
@ -109,7 +109,7 @@ with_feature :ancillary_data, :pktinfo do
end
it 'is not the same object as the input Addrinfo' do
@addr.should_not == @dest
@addr.should_not.equal? @dest
end
end
end