diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-18 16:41:48 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-18 16:41:48 +0000 |
commit | 494b3aeaea5cad15ead14853ec7eab1833651642 (patch) | |
tree | 2581fc2c7bb3769326d489265d7c65644899d976 /spec/ruby | |
parent | b75828fdfadaff6c5e09e42be32dff1216ed8fb1 (diff) | |
download | ruby-494b3aeaea5cad15ead14853ec7eab1833651642.tar.gz |
Use syswrite to avoid potential buffering in IO#select spec
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby')
-rw-r--r-- | spec/ruby/core/io/select_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/io/select_spec.rb b/spec/ruby/core/io/select_spec.rb index eba8519e5b..7e51cd37d4 100644 --- a/spec/ruby/core/io/select_spec.rb +++ b/spec/ruby/core/io/select_spec.rb @@ -15,7 +15,7 @@ describe "IO.select" do end it "returns immediately all objects that are ready for I/O when timeout is 0" do - @wr.write("be ready") + @wr.syswrite("be ready") result = IO.select [@rd], [@wr], nil, 0 result.should == [[@rd], [@wr], []] end |