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

ruby-changes:52042

From: nobu <ko1@a...>
Date: Fri, 10 Aug 2018 09:53:57 +0900 (JST)
Subject: [ruby-changes:52042] nobu:r64258 (trunk): another test needs IO.select

nobu	2018-08-10 09:53:49 +0900 (Fri, 10 Aug 2018)

  New Revision: 64258

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

  Log:
    another test needs IO.select

  Modified files:
    trunk/spec/ruby/library/socket/basicsocket/recvmsg_nonblock_spec.rb
Index: spec/ruby/library/socket/basicsocket/recvmsg_nonblock_spec.rb
===================================================================
--- spec/ruby/library/socket/basicsocket/recvmsg_nonblock_spec.rb	(revision 64257)
+++ spec/ruby/library/socket/basicsocket/recvmsg_nonblock_spec.rb	(revision 64258)
@@ -144,6 +144,7 @@ describe 'BasicSocket#recvmsg_nonblock' https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/socket/basicsocket/recvmsg_nonblock_spec.rb#L144
             @client.write('hello')
 
             @socket, _ = @server.accept
+            platform_is(:darwin, :freebsd) { IO.select([@socket]) }
           end
 
           after do
@@ -156,7 +157,6 @@ describe 'BasicSocket#recvmsg_nonblock' https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/socket/basicsocket/recvmsg_nonblock_spec.rb#L157
 
           describe 'the returned Array' do
             before do
-              platform_is(:darwin, :freebsd) { IO.select([@socket]) }
               @array = @socket.recvmsg_nonblock
             end
 

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

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