Skip Menu |

This queue is for tickets about the Archive-Zip CPAN distribution.

Report information
The Basics
Id: 90264
Status: new
Priority: 0/
Queue: Archive-Zip

People
Owner: Nobody in particular
Requestors: paul [...] city-fan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.33
Fixed in: (no value)



Subject: New tests added in 1.33 require Test::More 0.88
The META.* files in the dist declare a dependency of Test::More version 0.42 but t/15_decrypt.t and t/16_decrypt.t use "done_testing", which was introduced in Test::More version 0.88. So please either declare the dependency on the later version, or apply the attached patch or something similar to avoid the need for a more recent version of Test::More.
Subject: Archive-Zip-1.33-old-Test::More.patch
--- t/15_decrypt.t +++ t/15_decrypt.t @@ -6,7 +6,7 @@ use warnings; BEGIN { $| = 1; } use Archive::Zip qw( :ERROR_CODES ); -use Test::More; +use Test::More tests => 18; foreach my $pass (qw( wrong test )) { my $zip = Archive::Zip->new (); @@ -27,4 +27,3 @@ foreach my $pass (qw( wrong test )) { : "", "Decoded buffer"); } -done_testing; --- t/16_decrypt.t +++ t/16_decrypt.t @@ -6,7 +6,7 @@ use warnings; BEGIN { $| = 1; } use Archive::Zip qw( :ERROR_CODES ); -use Test::More; +use Test::More tests => 8; my $zip = Archive::Zip->new (); isa_ok ($zip, "Archive::Zip"); @@ -20,4 +20,3 @@ isa_ok ($m, "Archive::Zip::Member"); is ($m->password ("test"), "test", "correct password"); is ($m->contents, "encryption test\n" x 100, "Decoded buffer"); -done_testing;