summaryrefslogtreecommitdiff
path: root/test/zlib/test_zlib.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-14 03:09:53 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-14 03:09:53 +0000
commit47b8a0e7e4a04a28e57c3f9bb712a1f88d9e27bb (patch)
tree39e60213b4ef1aac330a6026869422e7c3e8288a /test/zlib/test_zlib.rb
parent0fd75b46b755dac01f6bc6ccdf40c8abf8e7d23d (diff)
avoid method redefinition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/zlib/test_zlib.rb')
-rw-r--r--test/zlib/test_zlib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb
index 6982db7a5f..1aaf3fac8c 100644
--- a/test/zlib/test_zlib.rb
+++ b/test/zlib/test_zlib.rb
@@ -535,7 +535,7 @@ if defined? Zlib
assert_equal("foobar".each_byte.to_a, a)
end
- def test_gets
+ def test_gets2
t = Tempfile.new("test_zlib_gzip_reader")
t.close
Zlib::GzipWriter.open(t.path) {|gz| gz.print("foo\nbar\nbaz\n") }