[前][次][番号順一覧][スレッド一覧]

ruby-changes:53270

From: usa <ko1@a...>
Date: Thu, 1 Nov 2018 14:19:20 +0900 (JST)
Subject: [ruby-changes:53270] usa:r65485 (trunk): Remove wrong spec.

usa	2018-11-01 14:19:16 +0900 (Thu, 01 Nov 2018)

  New Revision: 65485

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65485

  Log:
    Remove wrong spec.
    
    [Bug#15067] [ruby-core:88828]

  Modified files:
    trunk/spec/ruby/library/socket/socket/getnameinfo_spec.rb
Index: spec/ruby/library/socket/socket/getnameinfo_spec.rb
===================================================================
--- spec/ruby/library/socket/socket/getnameinfo_spec.rb	(revision 65484)
+++ spec/ruby/library/socket/socket/getnameinfo_spec.rb	(revision 65485)
@@ -105,15 +105,6 @@ describe 'Socket.getnameinfo' do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/socket/socket/getnameinfo_spec.rb#L105
         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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]