aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-08-08 17:23:34 -0400
committerPaul Duncan <pabs@pablotron.org>2016-08-08 17:23:34 -0400
commit24f3afd615e629f823c8b1c55edb873784e80401 (patch)
tree5d3f3bd8f6c3981cbaaed7ab19d92fb895d99ba4 /spec
parent01a21f94dded482889cea476a73072a15b3696bc (diff)
downloadzip-crystal-24f3afd615e629f823c8b1c55edb873784e80401.tar.bz2
zip-crystal-24f3afd615e629f823c8b1c55edb873784e80401.zip
working reader, add Source
Diffstat (limited to 'spec')
-rw-r--r--spec/zip_spec.cr5
1 files changed, 4 insertions, 1 deletions
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