diff options
-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 |