diff options
Diffstat (limited to 'spec/ruby/library/socket/addrinfo/marshal_dump_spec.rb')
-rw-r--r-- | spec/ruby/library/socket/addrinfo/marshal_dump_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/ruby/library/socket/addrinfo/marshal_dump_spec.rb b/spec/ruby/library/socket/addrinfo/marshal_dump_spec.rb index 2d69a33b53..c4220a6f3e 100644 --- a/spec/ruby/library/socket/addrinfo/marshal_dump_spec.rb +++ b/spec/ruby/library/socket/addrinfo/marshal_dump_spec.rb @@ -32,8 +32,10 @@ describe 'Addrinfo#marshal_dump' do @array[3].should == 'SOCK_STREAM' end - it 'includes the protocol as the 5th value' do - @array[4].should == 'IPPROTO_TCP' + platform_is_not :'solaris2.10' do # i386-solaris + it 'includes the protocol as the 5th value' do + @array[4].should == 'IPPROTO_TCP' + end end it 'includes the canonical name as the 6th value' do |