Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.368 kB
# -*- coding: US-ASCII -*-
require File.expand_path('../../../../spec_helper', __FILE__)
require 'zlib'
describe "Zlib::Deflate#set_dictionary" do
it "sets the dictionary" do
d = Zlib::Deflate.new
d.set_dictionary 'aaaaaaaaaa'
d << 'abcdefghij'
d.finish.should ==
"x\273\024\341\003\313KLJNIMK\317\310\314\002\000\025\206\003\370"
end
end
Jump to Line
Something went wrong with that request. Please try again.