ruby-changes:38771
From: kazu <ko1@a...>
Date: Fri, 12 Jun 2015 22:23:28 +0900 (JST)
Subject: [ruby-changes:38771] kazu:r50852 (trunk): fix error
kazu 2015-06-12 22:22:55 +0900 (Fri, 12 Jun 2015) New Revision: 50852 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50852 Log: fix error * test/ruby/test_extlibs.rb (TestExtLibs::check_existence): fix error. [Bug #11255] [ruby-dev:49079] Modified files: trunk/ChangeLog trunk/test/ruby/test_extlibs.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 50851) +++ ChangeLog (revision 50852) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Jun 12 22:21:12 2015 Kazuhiro NISHIYAMA <zn@m...> + + * test/ruby/test_extlibs.rb (TestExtLibs::check_existence): fix + error. [Bug #11255] [ruby-dev:49079] + Fri Jun 12 21:17:46 2015 NAKAMURA Usaku <usa@r...> * pack.c (pack_{un,}pack): new template character `j` and `J`, pointer Index: test/ruby/test_extlibs.rb =================================================================== --- test/ruby/test_extlibs.rb (revision 50851) +++ test/ruby/test_extlibs.rb (revision 50852) @@ -13,7 +13,7 @@ class TestExtLibs < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_extlibs.rb#L13 log = #{log.dump} msg = proc { "extension library `#{ext}' is not found#{add_msg}\n" << - (File.exist?(log) ? File.read(log) : "\#{log} not found") + (File.exist?(log) ? File.binread(log) : "\#{log} not found") } assert_nothing_raised(msg) do require "#{ext}" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/