diff options
Diffstat (limited to 'spec/rubyspec/library/zlib/zstream/avail_in_spec.rb')
-rw-r--r-- | spec/rubyspec/library/zlib/zstream/avail_in_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/rubyspec/library/zlib/zstream/avail_in_spec.rb b/spec/rubyspec/library/zlib/zstream/avail_in_spec.rb new file mode 100644 index 0000000000..25d3219a5a --- /dev/null +++ b/spec/rubyspec/library/zlib/zstream/avail_in_spec.rb @@ -0,0 +1,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 |