diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-01 05:19:16 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-01 05:19:16 +0000 |
commit | c4cc4725ec08f26b9f46b99e38b0eba18f733ddc (patch) | |
tree | 6fabab569baa33860c2a613af82496c9b8cdfbec /spec | |
parent | a140e17f12fcb9d4341aa38c9b34eed093c4b8da (diff) | |
download | ruby-c4cc4725ec08f26b9f46b99e38b0eba18f733ddc.tar.gz |
Remove wrong spec.
[Bug#15067] [ruby-core:88828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ruby/library/socket/socket/getnameinfo_spec.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/ruby/library/socket/socket/getnameinfo_spec.rb b/spec/ruby/library/socket/socket/getnameinfo_spec.rb index 1e58205f25..fbbbcb53c5 100644 --- a/spec/ruby/library/socket/socket/getnameinfo_spec.rb +++ b/spec/ruby/library/socket/socket/getnameinfo_spec.rb @@ -105,15 +105,6 @@ describe 'Socket.getnameinfo' do lambda { Socket.getnameinfo([family_name]) }.should raise_error(ArgumentError) end - describe 'without custom flags' do - it 'returns an Array containing the hostname and service name' do - array = Socket.getnameinfo(@addr) - array.should be_an_instance_of(Array) - array[0].should include(@hostname) - array[1].should == 'ftp' - end - end - platform_is_not :windows do describe 'using NI_NUMERICHOST as the flag' do it 'returns an Array containing the numeric hostname and service name' do |