From 64da3c3f2ac8750bebff0abeefc6774dca404226 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 10 Aug 2016 14:59:30 -0400 Subject: add extras support and local_extras method to entry --- spec/zip_spec.cr | 3 +++ 1 file changed, 3 insertions(+) (limited to 'spec') 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 -- cgit v1.2.3