summaryrefslogtreecommitdiff
path: root/spec/ruby/library/zlib/inflate_spec.rb
blob: 42c8dc5fbe54e1bf2ce4d134af3f049d465ec32e (plain)
1
2
3
4
5
6
7
8
require_relative '../../spec_helper'
require "zlib"

describe "Zlib.inflate" do
  it "inflates some data" do
    Zlib.inflate([120, 156, 51, 52, 132, 1, 0, 10, 145, 1, 235].pack('C*')).should == "1" * 10
  end
end