summaryrefslogtreecommitdiff
path: root/test/digest
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-22 10:36:28 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-22 10:36:28 +0000
commit7a32434fb6f209e0fab3521eab4c19d0f0e9f355 (patch)
tree3dc59a00595353e2c49acd8396b346e62bfa25f4 /test/digest
parentf02c2b9cfaf426b7d78e68ec5b76e4aba21f8872 (diff)
Fix test failure of binmode from r40879
http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20130521T131601Z.log.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/digest')
-rwxr-xr-xtest/digest/test_digest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/digest/test_digest.rb b/test/digest/test_digest.rb
index 1af6ea3..090b1ea 100755
--- a/test/digest/test_digest.rb
+++ b/test/digest/test_digest.rb
@@ -80,7 +80,7 @@ module TestDigest
end
def test_s_file
- Tempfile.create("test_digest_file") { |tmpfile|
+ Tempfile.create("test_digest_file", mode: File::BINARY) { |tmpfile|
str = "hello, world.\r\n"
tmpfile.print str
tmpfile.close