* test/zlib/test_zlib.rb (test_inflate): add a test for Zlib.inflate.

patched by headius (Charles Nutter). [ruby-core:44859] [Bug #6398]

* test/zlib/test_zlib.rb (test_deflate): add a test for Zlib.deflate.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-05-04 17:07:18 +00:00
parent b17158a287
commit 95d4b3ba49
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,10 @@
Sat May 5 01:47:33 2012 NARUSE, Yui <naruse@ruby-lang.org>
* test/zlib/test_zlib.rb (test_inflate): add a test for Zlib.inflate.
patched by headius (Charles Nutter). [ruby-core:44859] [Bug #6398]
* test/zlib/test_zlib.rb (test_deflate): add a test for Zlib.deflate.
Sat May 5 00:53:55 2012 NARUSE, Yui <naruse@ruby-lang.org>
* io.c (parse_mode_enc): remove warnings 'Ignoring internal encoding'.

View File

@ -869,5 +869,13 @@ if defined? Zlib
assert_instance_of(Array, t)
t.each {|x| assert_kind_of(Integer, x) }
end
def test_inflate
TestZlibInflate.new(__name__).test_inflate
end
def test_deflate
TestZlibDeflate.new(__name__).test_deflate
end
end
end