diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-08-07 22:06:31 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-08-07 22:06:31 -0400 |
commit | 01a21f94dded482889cea476a73072a15b3696bc (patch) | |
tree | f31e1ee24e621c59805363a3300823657a36938d /spec | |
parent | f8099f07f3ff1cbb259acb1f31f0a3975a9c3e93 (diff) | |
download | zip-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.cr | 5 |
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 |