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 | |
parent | edde0291764ee7a2ff7a705fc839e6b11d6a1f02 (diff) |
* 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
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | test/webrick/test_httpresponse.rb | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Thu Aug 8 12:11:43 2013 NAKAMURA Usaku <usa@ruby-lang.org> + + * 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. + Thu Aug 8 10:27:18 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * range.c (range_last): revert r42400. [Bug #8739] 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 |