From 24f3afd615e629f823c8b1c55edb873784e80401 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 8 Aug 2016 17:23:34 -0400 Subject: working reader, add Source --- spec/zip_spec.cr | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/zip_spec.cr b/spec/zip_spec.cr index cae6de9..a7e306c 100644 --- a/spec/zip_spec.cr +++ b/spec/zip_spec.cr @@ -56,6 +56,9 @@ describe Zip::Writer do end describe Zip::Reader do - Zip.read(File.join(TEST_DIR, "test-empty.zip")) do |zip| + Zip.read(File.join(TEST_DIR, "test-string.zip")) do |zip| + zip.entries.each do |e| + pp e + end end end -- cgit v1.2.3