mirror of
https://github.com/ruby/ruby.git
synced 2025-09-20 11:03:58 +02:00
merge revision(s) 34499:
* test/pathname/test_pathname.rb: not read but binread. patched by Benoit Daloze, [ruby-core:42440] [Bug #5984] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
42c6255260
commit
2bd2ea829f
3 changed files with 7 additions and 2 deletions
|
@ -714,7 +714,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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue