[前][次][番号順一覧][スレッド一覧]

ruby-changes:30364

From: usa <ko1@a...>
Date: Thu, 8 Aug 2013 12:14:24 +0900 (JST)
Subject: [ruby-changes:30364] usa:r42433 (trunk): * test/webrick/test_httpresponse.rb (test_send_body_*_chunked): these

usa	2013-08-08 12:14:15 +0900 (Thu, 08 Aug 2013)

  New Revision: 42433

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42433

  Log:
    * 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.

  Modified files:
    trunk/ChangeLog
    trunk/test/webrick/test_httpresponse.rb
_______________________________________________
ruby-cvs mailing list
ruby-cvs@r...
http://lists.ruby-lang.org/cgi-bin/mailman/listinfo/ruby-cvs
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42432)
+++ ChangeLog	(revision 42433)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Aug  8 12:11:43 2013  NAKAMURA Usaku  <usa@r...>
+
+	* 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@r...>
 
 	* range.c (range_last): revert r42400.  [Bug #8739]
Index: test/webrick/test_httpresponse.rb
===================================================================
--- test/webrick/test_httpresponse.rb	(revision 42432)
+++ test/webrick/test_httpresponse.rb	(revision 42433)
@@ -104,6 +104,7 @@ module WEBrick https://github.com/ruby/ruby/blob/trunk/test/webrick/test_httpresponse.rb#L104
 
       w.close
 
+      r.binmode
       assert_equal "5\r\nhello\r\n0\r\n\r\n", r.read
     end
 
@@ -118,6 +119,7 @@ module WEBrick https://github.com/ruby/ruby/blob/trunk/test/webrick/test_httpresponse.rb#L119
 
       w.close
 
+      r.binmode
       assert_equal "5\r\nhello\r\n0\r\n\r\n", r.read
     end
 
@@ -132,6 +134,7 @@ module WEBrick https://github.com/ruby/ruby/blob/trunk/test/webrick/test_httpresponse.rb#L134
 
       w.close
 
+      r.binmode
       assert_equal "5\r\nhello\r\n0\r\n\r\n", r.read
     end
   end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]