mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
f02c2b9cfa
commit
7a32434fb6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue