summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-28 17:28:52 +0000
committertarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-28 17:28:52 +0000
commit18bbb1cfc85d2ea93fb9e69d09f4004d274ac8c6 (patch)
tree2ebe93f2b31bb2baf50a66502d1cd9238186be6b /test
parent50bb2544bb38cef85cae6467763d0fde336f9ee3 (diff)
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/rdoc/test_rdoc_markup_pre_process.rb1
-rw-r--r--test/rdoc/test_rdoc_rdoc.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/rdoc/test_rdoc_markup_pre_process.rb b/test/rdoc/test_rdoc_markup_pre_process.rb
index 9c90a2782a..cae4da9e05 100644
--- a/test/rdoc/test_rdoc_markup_pre_process.rb
+++ b/test/rdoc/test_rdoc_markup_pre_process.rb
@@ -10,6 +10,7 @@ class TestRDocMarkupPreProcess < MiniTest::Unit::TestCase
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
diff --git a/test/rdoc/test_rdoc_rdoc.rb b/test/rdoc/test_rdoc_rdoc.rb
index f126bfbdb2..b02ef2ae1a 100644
--- a/test/rdoc/test_rdoc_rdoc.rb
+++ b/test/rdoc/test_rdoc_rdoc.rb
@@ -9,6 +9,7 @@ class TestRDocRDoc < MiniTest::Unit::TestCase
def setup
@rdoc = RDoc::RDoc.new
@tempfile = Tempfile.new 'test_rdoc_rdoc'
+ @tempfile.binmode
end
def teardown