blob: 8be96adf7c8acd5f859ec2249bb20824fbc02734 (
plain)
1
2
3
4
5
6
7
8
9
|
require_relative '../../../spec_helper'
require 'zlib'
describe "Zlib::ZStream#data_type" do
it "returns the type of the data in the stream" do
z = Zlib::Deflate.new
[Zlib::ASCII, Zlib::BINARY, Zlib::UNKNOWN].include?(z.data_type).should == true
end
end
|