Project

General

Profile

Actions

Bug #6398

closed

Add tests for Zlib.inflate and Zlib.deflate

Added by headius (Charles Nutter) almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Target version:
ruby -v:
2.0.0.dev
Backport:
[ruby-core:44859]

Description

These just dispatch the same as calling Zlib::Deflate.deflate and Zlib::Inflate.inflate, but the Zlib-bound versions are not tested anywhere. As a result, we missed adding them in JRuby until now.

Patch for test: https://gist.github.com/2589529

I request that this be backported to 1.9.3, since JRuby runs the 1.9.3 suite.

Updated by mame (Yusuke Endoh) almost 12 years ago

  • Status changed from Open to Assigned
  • Assignee set to naruse (Yui NARUSE)
Actions #2

Updated by naruse (Yui NARUSE) almost 12 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r35540.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • 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.

Actions

Also available in: Atom PDF

Like0
Like0Like0