From 7a32434fb6f209e0fab3521eab4c19d0f0e9f355 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 22 May 2013 10:36:28 +0000 Subject: 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 --- test/digest/test_digest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/digest/test_digest.rb b/test/digest/test_digest.rb index 1af6ea3040..090b1eacf0 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 -- cgit v1.2.3