From 8e613749f45fb2c471690847b21c2f7122ca148c Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 29 Jul 2015 05:32:38 +0000 Subject: [PATCH] * 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 --- test/ruby/test_io.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 2b4ad8a669..2983826e9d 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -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