1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
usa 2018-11-01 05:19:16 +00:00
parent a140e17f12
commit c4cc4725ec

View file

@ -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