test/gzip_reader_test.rb in iostreams-0.8.2 vs test/gzip_reader_test.rb in iostreams-0.9.0
- old
+ new
@@ -15,9 +15,10 @@
result = IOStreams::Gzip::Reader.open(@file_name) do |io|
io.read
end
assert_equal @data, result
end
+
it 'stream' do
result = File.open(@file_name) do |file|
IOStreams::Gzip::Reader.open(file) do |io|
io.read
end