summaryrefslogtreecommitdiff
path: root/test/zlib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-25 01:54:28 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-25 01:54:28 +0000
commitbd3c7a7e90466158dac4139e3be7dce6f959cfdc (patch)
treef992d982fbc2f5022e214a94fc33b774833b1e62 /test/zlib
parent514a5b3b7150dcaa78fee45676742c1be4f69804 (diff)
* test/zlib/test_zlib.rb (test_readline): renamed from test_gets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/zlib')
-rw-r--r--test/zlib/test_zlib.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb
index 56940ac..746dfba 100644
--- a/test/zlib/test_zlib.rb
+++ b/test/zlib/test_zlib.rb
@@ -573,8 +573,8 @@ if defined? Zlib
end
end
- def test_gets2
- t = Tempfile.new("test_zlib_gzip_reader_gets2")
+ def test_gets
+ t = Tempfile.new("test_zlib_gzip_reader_gets")
t.close
Zlib::GzipWriter.open(t.path) {|gz| gz.print("foo\nbar\nbaz\n") }
@@ -590,8 +590,8 @@ if defined? Zlib
end
end
- def test_gets
- t = Tempfile.new("test_zlib_gzip_reader_gets")
+ def test_readline
+ t = Tempfile.new("test_zlib_gzip_reader_readline")
t.close
Zlib::GzipWriter.open(t.path) {|gz| gz.print("foo\nbar\nbaz\n") }