diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-02 23:21:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-02 23:21:10 +0000 |
commit | f476ccb68a68c552fae1138ab9eec129fb96c93b (patch) | |
tree | 62f5c70b25e889b6573be6a09234659bd1748f01 /test | |
parent | 13cefe5fdd4b7360fe61d7fb902f4f65f5c2953e (diff) | |
download | ruby-f476ccb68a68c552fae1138ab9eec129fb96c93b.tar.gz ruby-f476ccb68a68c552fae1138ab9eec129fb96c93b.tar.xz ruby-f476ccb68a68c552fae1138ab9eec129fb96c93b.zip |
* test/ruby/test_readpartial.rb (make_pipe): readpartial does not
work in text mode.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_readpartial.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_readpartial.rb b/test/ruby/test_readpartial.rb index fd601e7d3..b969c3869 100644 --- a/test/ruby/test_readpartial.rb +++ b/test/ruby/test_readpartial.rb @@ -5,6 +5,8 @@ require 'fcntl' class TestReadPartial < Test::Unit::TestCase def make_pipe r, w = IO.pipe + r.binmode + w.binmode begin yield r, w ensure |