From bc4ca06f90c0da09fe3a6d2ab29e260b9b9cfe1b Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Thu, 3 Dec 2020 23:34:46 +0900 Subject: test/ruby/test_io.rb: some test methods had been overwritten http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20201203T123002Z.log.html.gz ``` /home/chkbuild/chkbuild/tmp/build/20201203T123002Z/ruby/test/ruby/test_io.rb:1830: warning: method redefined; discarding old test_each_byte /home/chkbuild/chkbuild/tmp/build/20201203T123002Z/ruby/test/ruby/test_io.rb:376: warning: previous definition of test_each_byte was here test/unit warning: method TestIO#test_each_byte is redefined /home/chkbuild/chkbuild/tmp/build/20201203T123002Z/ruby/test/ruby/test_io.rb:1849: warning: method redefined; discarding old test_each_char /home/chkbuild/chkbuild/tmp/build/20201203T123002Z/ruby/test/ruby/test_io.rb:1799: warning: previous definition of test_each_char was here test/unit warning: method TestIO#test_each_char is redefined ``` --- test/ruby/test_io.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 9ce05e93fd..29903e9d64 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -1827,7 +1827,7 @@ class TestIO < Test::Unit::TestCase end) end - def test_each_byte + def test_each_byte2 pipe(proc do |w| w.binmode w.puts "foo" @@ -1846,7 +1846,7 @@ class TestIO < Test::Unit::TestCase end) end - def test_each_char + def test_each_char2 pipe(proc do |w| w.puts "foo" w.puts "bar" -- cgit v1.2.3