aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_io.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-04 13:55:24 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-04 13:55:24 +0000
commit0562c4f76d89cfc9d7c95d077fa62652bbe54664 (patch)
treeabdd3147214bf536da428ba87319aec50c6ef594 /test/ruby/test_io.rb
parentde1f3c92e701cdb2752f5079107ad65512e1b43b (diff)
downloadruby-0562c4f76d89cfc9d7c95d077fa62652bbe54664.tar.gz
* test/ruby: get rid of warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_io.rb')
-rw-r--r--test/ruby/test_io.rb4
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)