diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-08 03:14:15 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-08 03:14:15 +0000 |
commit | 647fc21a35800919e125d8c09167bc34982a7a35 (patch) | |
tree | 5beeeb494f271301c31dc33c496bde18fbcf0c93 /test/webrick | |
parent | edde0291764ee7a2ff7a705fc839e6b11d6a1f02 (diff) | |
download | ruby-647fc21a35800919e125d8c09167bc34982a7a35.tar.gz |
* test/webrick/test_httpresponse.rb (test_send_body_*_chunked): these
expectations assumes that the IOs are binmode. fixed test failures
introduced at r42427 on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/webrick')
-rw-r--r-- | test/webrick/test_httpresponse.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/webrick/test_httpresponse.rb b/test/webrick/test_httpresponse.rb index aae4973b4d..c9fb4ff3ae 100644 --- a/test/webrick/test_httpresponse.rb +++ b/test/webrick/test_httpresponse.rb @@ -104,6 +104,7 @@ module WEBrick w.close + r.binmode assert_equal "5\r\nhello\r\n0\r\n\r\n", r.read end @@ -118,6 +119,7 @@ module WEBrick w.close + r.binmode assert_equal "5\r\nhello\r\n0\r\n\r\n", r.read end @@ -132,6 +134,7 @@ module WEBrick w.close + r.binmode assert_equal "5\r\nhello\r\n0\r\n\r\n", r.read end end |