diff options
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 a6f2b14abe..b375754878 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -1643,7 +1643,7 @@ class TestIO < Test::Unit::TestCase end def test_pos_with_getc - bug6179 = '[ruby-core:43497]' + _bug6179 = '[ruby-core:43497]' make_tempfile {|t| ["", "t", "b"].each do |mode| open(t.path, "w#{mode}") do |f| @@ -1699,7 +1699,7 @@ class TestIO < Test::Unit::TestCase end if defined?(IO::SEEK_HOLE) - open(t.path) { |f|2 + open(t.path) { |f| assert_equal("foo\n", f.gets) f.seek(0, IO::SEEK_HOLE) assert_equal("", f.read) |