1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix error

* test/ruby/test_extlibs.rb (TestExtLibs::check_existence): fix
  error. [Bug #11255] [ruby-dev:49079]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2015-06-12 13:22:55 +00:00
parent 3d4eca7b34
commit e738b62df1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri Jun 12 22:21:12 2015 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* 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@ruby-lang.org>
* pack.c (pack_{un,}pack): new template character `j` and `J`, pointer

View file

@ -13,7 +13,7 @@ class TestExtLibs < Test::Unit::TestCase
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}"