aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-08-07 22:06:31 -0400
committerPaul Duncan <pabs@pablotron.org>2016-08-07 22:06:31 -0400
commit01a21f94dded482889cea476a73072a15b3696bc (patch)
treef31e1ee24e621c59805363a3300823657a36938d /spec
parentf8099f07f3ff1cbb259acb1f31f0a3975a9c3e93 (diff)
downloadzip-crystal-01a21f94dded482889cea476a73072a15b3696bc.tar.bz2
zip-crystal-01a21f94dded482889cea476a73072a15b3696bc.zip
stub reader, add .read methods, use Error, better properties
Diffstat (limited to 'spec')
-rw-r--r--spec/zip_spec.cr5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/zip_spec.cr b/spec/zip_spec.cr
index 7505fd3..cae6de9 100644
--- a/spec/zip_spec.cr
+++ b/spec/zip_spec.cr
@@ -54,3 +54,8 @@ describe Zip::Writer do
end
end
end
+
+describe Zip::Reader do
+ Zip.read(File.join(TEST_DIR, "test-empty.zip")) do |zip|
+ end
+end