diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/pathname/test_pathname.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Feb 9 04:12:29 2012 NARUSE, Yui <naruse@ruby-lang.org> + + * test/pathname/test_pathname.rb: not read but binread. + patched by Benoit Daloze, [ruby-core:42440] [Bug #5984] + Wed Feb 8 22:29:59 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> * string.c (rb_str_modify_expand): fix memory leak. diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb index dcbcd49754..1631403eb2 100644 --- a/test/pathname/test_pathname.rb +++ b/test/pathname/test_pathname.rb @@ -710,7 +710,7 @@ class TestPathname < Test::Unit::TestCase def test_binread with_tmpchdir('rubytest-pathname') {|dir| open("a", "w") {|f| f.write "abc" } - assert_equal("abc", Pathname("a").read) + assert_equal("abc", Pathname("a").binread) } end |