summaryrefslogtreecommitdiff
path: root/spec/ruby/library
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-10 00:53:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-10 00:53:49 +0000
commita23c8414feec3446a82a1a22fe2e4a1878377bb7 (patch)
tree054e2d4625d0c96076228ad641e848f3f9f4e734 /spec/ruby/library
parentff57f6f69a6cf5fde61532e3b74d76ad619af614 (diff)
another test needs IO.select
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/library')
-rw-r--r--spec/ruby/library/socket/basicsocket/recvmsg_nonblock_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/socket/basicsocket/recvmsg_nonblock_spec.rb b/spec/ruby/library/socket/basicsocket/recvmsg_nonblock_spec.rb
index c382268ca4..4024c40365 100644
--- a/spec/ruby/library/socket/basicsocket/recvmsg_nonblock_spec.rb
+++ b/spec/ruby/library/socket/basicsocket/recvmsg_nonblock_spec.rb
@@ -144,6 +144,7 @@ describe 'BasicSocket#recvmsg_nonblock' do
@client.write('hello')
@socket, _ = @server.accept
+ platform_is(:darwin, :freebsd) { IO.select([@socket]) }
end
after do
@@ -156,7 +157,6 @@ describe 'BasicSocket#recvmsg_nonblock' do
describe 'the returned Array' do
before do
- platform_is(:darwin, :freebsd) { IO.select([@socket]) }
@array = @socket.recvmsg_nonblock
end