summaryrefslogtreecommitdiff
path: root/test/zlib
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-04 17:07:18 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-04 17:07:18 +0000
commit95d4b3ba4974fdb9f08900267964949e30b1c821 (patch)
tree3bce3b307a994963642f88d6268f26ce477c429b /test/zlib
parentb17158a287b17cdfb6d1f10a859a5b60e720e67f (diff)
* 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
Diffstat (limited to 'test/zlib')
-rw-r--r--test/zlib/test_zlib.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb
index 1e3d771..699b65a 100644
--- a/test/zlib/test_zlib.rb
+++ b/test/zlib/test_zlib.rb
@@ -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