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

ruby-changes:16480

From: tarui <ko1@a...>
Date: Tue, 29 Jun 2010 02:29:02 +0900 (JST)
Subject: [ruby-changes:16480] Ruby:r28469 (ruby_1_9_2, trunk): * test/rdoc/test_rdoc_rdoc.rb: change to bin-mode to write directly.

tarui	2010-06-29 02:28:52 +0900 (Tue, 29 Jun 2010)

  New Revision: 28469

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

  Log:
    * test/rdoc/test_rdoc_rdoc.rb: change to bin-mode to write directly.
      reported at http://rubyforge.org/tracker/index.php?func=detail&aid=28249&group_id=627&atid=2472
    * test/rdoc/test_rdoc_markup_pre_process.rb: ditto.

  Modified files:
    branches/ruby_1_9_2/test/rdoc/test_rdoc_markup_pre_process.rb
    branches/ruby_1_9_2/test/rdoc/test_rdoc_rdoc.rb
    trunk/test/rdoc/test_rdoc_markup_pre_process.rb
    trunk/test/rdoc/test_rdoc_rdoc.rb

Index: test/rdoc/test_rdoc_rdoc.rb
===================================================================
--- test/rdoc/test_rdoc_rdoc.rb	(revision 28468)
+++ test/rdoc/test_rdoc_rdoc.rb	(revision 28469)
@@ -9,6 +9,7 @@
   def setup
     @rdoc = RDoc::RDoc.new
     @tempfile = Tempfile.new 'test_rdoc_rdoc'
+    @tempfile.binmode
   end
 
   def teardown
Index: test/rdoc/test_rdoc_markup_pre_process.rb
===================================================================
--- test/rdoc/test_rdoc_markup_pre_process.rb	(revision 28468)
+++ test/rdoc/test_rdoc_markup_pre_process.rb	(revision 28469)
@@ -10,6 +10,7 @@
     RDoc::Markup::PreProcess.registered.clear
 
     @tempfile = Tempfile.new 'test_rdoc_markup_pre_process'
+    @tempfile.binmode
     @name = File.basename @tempfile.path
     @dir  = File.dirname @tempfile.path
 
Index: ruby_1_9_2/test/rdoc/test_rdoc_rdoc.rb
===================================================================
--- ruby_1_9_2/test/rdoc/test_rdoc_rdoc.rb	(revision 28468)
+++ ruby_1_9_2/test/rdoc/test_rdoc_rdoc.rb	(revision 28469)
@@ -9,6 +9,7 @@
   def setup
     @rdoc = RDoc::RDoc.new
     @tempfile = Tempfile.new 'test_rdoc_rdoc'
+    @tempfile.binmode
   end
 
   def teardown
Index: ruby_1_9_2/test/rdoc/test_rdoc_markup_pre_process.rb
===================================================================
--- ruby_1_9_2/test/rdoc/test_rdoc_markup_pre_process.rb	(revision 28468)
+++ ruby_1_9_2/test/rdoc/test_rdoc_markup_pre_process.rb	(revision 28469)
@@ -10,6 +10,7 @@
     RDoc::Markup::PreProcess.registered.clear
 
     @tempfile = Tempfile.new 'test_rdoc_markup_pre_process'
+    @tempfile.binmode
     @name = File.basename @tempfile.path
     @dir  = File.dirname @tempfile.path
 

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

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