summaryrefslogtreecommitdiff
path: root/spec/ruby/library/socket/ancillarydata/ip_pktinfo_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/socket/ancillarydata/ip_pktinfo_spec.rb')
-rw-r--r--spec/ruby/library/socket/ancillarydata/ip_pktinfo_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/socket/ancillarydata/ip_pktinfo_spec.rb b/spec/ruby/library/socket/ancillarydata/ip_pktinfo_spec.rb
index 9fc4e8c201..84910a038a 100644
--- a/spec/ruby/library/socket/ancillarydata/ip_pktinfo_spec.rb
+++ b/spec/ruby/library/socket/ancillarydata/ip_pktinfo_spec.rb
@@ -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.equal? @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.equal? @dest
+ @addr.should_not equal @dest
end
end
end