mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 14:34:39 +02:00
test/ruby/test_io.rb: some test methods had been overwritten
20201203
T123002Z.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
```
This commit is contained in:
parent
2a99fea89e
commit
bc4ca06f90
1 changed files with 2 additions and 2 deletions
|
@ -1827,7 +1827,7 @@ class TestIO < Test::Unit::TestCase
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_each_byte
|
def test_each_byte2
|
||||||
pipe(proc do |w|
|
pipe(proc do |w|
|
||||||
w.binmode
|
w.binmode
|
||||||
w.puts "foo"
|
w.puts "foo"
|
||||||
|
@ -1846,7 +1846,7 @@ class TestIO < Test::Unit::TestCase
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_each_char
|
def test_each_char2
|
||||||
pipe(proc do |w|
|
pipe(proc do |w|
|
||||||
w.puts "foo"
|
w.puts "foo"
|
||||||
w.puts "bar"
|
w.puts "bar"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue