Bug #6398

Add tests for Zlib.inflate and Zlib.deflate

Added by Charles Nutter almost 2 years ago. Updated almost 2 years ago.

[ruby-core:44859]
Status:Closed
Priority:Normal
Assignee:Yui NARUSE
Category:test
Target version:1.9.3
ruby -v:2.0.0.dev Backport:

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.

Associated revisions

Revision 35540
Added by Yui NARUSE almost 2 years ago

  • test/zlib/testzlib.rb (testinflate): add a test for Zlib.inflate.
    patched by headius (Charles Nutter). [Bug #6398]

  • test/zlib/testzlib.rb (testdeflate): add a test for Zlib.deflate.

History

#1 Updated by Yusuke Endoh almost 2 years ago

  • Status changed from Open to Assigned
  • Assignee set to Yui NARUSE

#2 Updated by Yui NARUSE almost 2 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/testzlib.rb (testinflate): add a test for Zlib.inflate.
    patched by headius (Charles Nutter). [Bug #6398]

  • test/zlib/testzlib.rb (testdeflate): add a test for Zlib.deflate.

Also available in: Atom PDF