summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-08-10 14:59:30 -0400
committerPaul Duncan <pabs@pablotron.org>2016-08-10 14:59:30 -0400
commit64da3c3f2ac8750bebff0abeefc6774dca404226 (patch)
tree059c8169a41520aefe72995013e9ec949bed1af6 /spec
parentc0ced77fb12ecb39bfd680f842fead31cd349831 (diff)
downloadzip-crystal-64da3c3f2ac8750bebff0abeefc6774dca404226.tar.bz2
zip-crystal-64da3c3f2ac8750bebff0abeefc6774dca404226.zip
add extras support and local_extras method to entry
Diffstat (limited to 'spec')
-rw-r--r--spec/zip_spec.cr3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/zip_spec.cr b/spec/zip_spec.cr
index c80aabe..6503a65 100644
--- a/spec/zip_spec.cr
+++ b/spec/zip_spec.cr
@@ -80,6 +80,9 @@ describe Zip do
Zip.read(File.join(TEST_DIR, "real.zip")) do |zip|
zip.each do |e|
e.read(File.open("/dev/null", "wb"))
+
+ # p e.extras.map { |e| { e.code, e.size } }
+ # p e.local_extras.map { |e| { e.code, e.size } }
end
end
end