diff options
author | Yusuke Endoh <[email protected]> | 2020-12-03 23:34:46 +0900 |
---|---|---|
committer | Yusuke Endoh <[email protected]> | 2020-12-03 23:34:46 +0900 |
commit | bc4ca06f90c0da09fe3a6d2ab29e260b9b9cfe1b (patch) | |
tree | 25b1d24e3b28316e572612b79a4dbf917ea95ee3 /test/ruby/test_io.rb | |
parent | 2a99fea89e6a9510f2f2b378cfa661264bcffd5e (diff) |
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
```
Diffstat (limited to 'test/ruby/test_io.rb')
-rw-r--r-- | test/ruby/test_io.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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" |