summaryrefslogtreecommitdiff
path: root/spec/ruby/library/zlib/zstream/avail_in_spec.rb
blob: 25d3219a5a94807e33793c5db18c8e2dba9704da (plain)
1
2
3
4
5
6
7
8
9
require File.expand_path('../../../../spec_helper', __FILE__)
require 'zlib'

describe "Zlib::ZStream#avail_in" do
  it "returns bytes in the input buffer" do
    z = Zlib::Deflate.new
    z.avail_in.should == 0
  end
end