diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb index 56940ace8c..746dfba844 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") }