test/zip_reader_test.rb in iostreams-0.8.2 vs test/zip_reader_test.rb in iostreams-0.9.0
- old
+ new
@@ -16,9 +16,10 @@
result = IOStreams::Zip::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::Zip::Reader.open(file) do |io|
io.read
end