ruby-changes:39343
From: usa <ko1@a...>
Date: Wed, 29 Jul 2015 14:32:59 +0900 (JST)
Subject: [ruby-changes:39343] usa:r51424 (trunk): * test/ruby/test_io.rb (TestIO#test_open_flag_binary): typo of method name (test method itself, and calling method).
usa 2015-07-29 14:32:38 +0900 (Wed, 29 Jul 2015) New Revision: 51424 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51424 Log: * test/ruby/test_io.rb (TestIO#test_open_flag_binary): typo of method name (test method itself, and calling method). Modified files: trunk/test/ruby/test_io.rb Index: test/ruby/test_io.rb =================================================================== --- test/ruby/test_io.rb (revision 51423) +++ test/ruby/test_io.rb (revision 51424) @@ -3238,16 +3238,16 @@ End https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L3238 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/