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

* test/ruby/test_io.rb (TestIO#test_open_flag_binary): typo of method name (test method itself, and calling method).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2015-07-29 05:32:38 +00:00
parent 4de35bafbc
commit 8e613749f4

View file

@ -3238,16 +3238,16 @@ End
end
end
def test_open_flag_binar
def test_open_flag_binary
make_tempfile do |t|
open(t.path, File::RDONLY, flags: File::BINARY) do |f|
assert_equal true, f.binmode
assert_equal true, f.binmode?
end
open(t.path, 'r', flags: File::BINARY) do |f|
assert_equal true, f.binmode
assert_equal true, f.binmode?
end
open(t.path, mode: 'r', flags: File::BINARY) do |f|
assert_equal true, f.binmode
assert_equal true, f.binmode?
end
end
end if File::BINARY != 0