ruby-changes:56276
From: Nobuyoshi <ko1@a...>
Date: Sat, 29 Jun 2019 19:18:57 +0900 (JST)
Subject: [ruby-changes:56276] Nobuyoshi Nakada: cbb7dc21a8 (trunk): Fix predicate to assert if object is same
https://git.ruby-lang.org/ruby.git/commit/?id=cbb7dc21a8 From cbb7dc21a823e8b09341860d8737ed24ee1ce1b8 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sat, 29 Jun 2019 19:17:51 +0900 Subject: Fix predicate to assert if object is same diff --git a/spec/ruby/library/socket/ancillarydata/ipv6_pktinfo_spec.rb b/spec/ruby/library/socket/ancillarydata/ipv6_pktinfo_spec.rb index dfaa5bf..6f576f5 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 https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/socket/ancillarydata/ipv6_pktinfo_spec.rb#L58 end it 'is not the same object as the input Addrinfo' do - @addr.should_not == @source + @addr.should_not.equal? @source end end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/