ruby-changes:56277
From: Nobuyoshi <ko1@a...>
Date: Sat, 29 Jun 2019 21:46:53 +0900 (JST)
Subject: [ruby-changes:56277] Nobuyoshi Nakada: 9f648262f9 (trunk): Fix predicate to assert if object is same
https://git.ruby-lang.org/ruby.git/commit/?id=9f648262f9 From 9f648262f9372cbf21754a411a68e178f0fd8feb Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sat, 29 Jun 2019 21:45:59 +0900 Subject: Fix predicate to assert if object is same diff --git a/spec/ruby/library/socket/ancillarydata/ip_pktinfo_spec.rb b/spec/ruby/library/socket/ancillarydata/ip_pktinfo_spec.rb index 809d087..9fc4e8c 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 https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/socket/ancillarydata/ip_pktinfo_spec.rb#L89 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 https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/socket/ancillarydata/ip_pktinfo_spec.rb#L109 end it 'is not the same object as the input Addrinfo' do - @addr.should_not == @dest + @addr.should_not.equal? @dest end end end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/