|
|
72d5af |
--- Makefile.PL
|
|
|
72d5af |
+++ Makefile.PL
|
|
|
72d5af |
@@ -17,7 +17,7 @@ my %WriteMakefileArgs = (
|
|
|
72d5af |
"NAME" => "Sub::Exporter::Progressive",
|
|
|
72d5af |
"PREREQ_PM" => {},
|
|
|
72d5af |
"TEST_REQUIRES" => {
|
|
|
72d5af |
- "Test::More" => "0.88"
|
|
|
72d5af |
+ "Test::More" => "0.47"
|
|
|
72d5af |
},
|
|
|
72d5af |
"VERSION" => "0.001013",
|
|
|
72d5af |
"test" => {
|
|
|
72d5af |
@@ -27,7 +27,7 @@ my %WriteMakefileArgs = (
|
|
|
72d5af |
|
|
|
72d5af |
|
|
|
72d5af |
my %FallbackPrereqs = (
|
|
|
72d5af |
- "Test::More" => "0.88"
|
|
|
72d5af |
+ "Test::More" => "0.47"
|
|
|
72d5af |
);
|
|
|
72d5af |
|
|
|
72d5af |
|
|
|
72d5af |
--- t/all.t
|
|
|
72d5af |
+++ t/all.t
|
|
|
72d5af |
@@ -2,7 +2,7 @@
|
|
|
72d5af |
use strict;
|
|
|
72d5af |
use warnings;
|
|
|
72d5af |
|
|
|
72d5af |
-use Test::More;
|
|
|
72d5af |
+use Test::More tests => 6;
|
|
|
72d5af |
use lib 't/lib';
|
|
|
72d5af |
use A::JunkAll;
|
|
|
72d5af |
|
|
|
72d5af |
@@ -17,5 +17,3 @@ use A::JunkAll ':all';
|
|
|
72d5af |
ok(main->can('junk1'), 'sub exported');
|
|
|
72d5af |
ok(main->can('junk2'), 'sub exported');
|
|
|
72d5af |
ok(! $INC{'Sub/Exporter.pm'}, 'Sub::Exporter not loaded');
|
|
|
72d5af |
-
|
|
|
72d5af |
-done_testing;
|
|
|
72d5af |
--- t/basic.t
|
|
|
72d5af |
+++ t/basic.t
|
|
|
72d5af |
@@ -2,11 +2,9 @@
|
|
|
72d5af |
use strict;
|
|
|
72d5af |
use warnings;
|
|
|
72d5af |
|
|
|
72d5af |
-use Test::More;
|
|
|
72d5af |
+use Test::More tests => 2;
|
|
|
72d5af |
use lib 't/lib';
|
|
|
72d5af |
use A::Junk 'junk1';
|
|
|
72d5af |
|
|
|
72d5af |
ok(main->can('junk1'), 'requested sub exported');
|
|
|
72d5af |
ok(! $INC{'Sub/Exporter.pm'}, 'Sub::Exporter not loaded');
|
|
|
72d5af |
-
|
|
|
72d5af |
-done_testing;
|
|
|
72d5af |
--- t/default.t
|
|
|
72d5af |
+++ t/default.t
|
|
|
72d5af |
@@ -2,11 +2,9 @@
|
|
|
72d5af |
use strict;
|
|
|
72d5af |
use warnings;
|
|
|
72d5af |
|
|
|
72d5af |
-use Test::More;
|
|
|
72d5af |
+use Test::More tests => 2;
|
|
|
72d5af |
use lib 't/lib';
|
|
|
72d5af |
use A::Junk;
|
|
|
72d5af |
|
|
|
72d5af |
ok(main->can('junk2'), 'sub exported');
|
|
|
72d5af |
ok(! $INC{'Sub/Exporter.pm'}, 'Sub::Exporter not loaded');
|
|
|
72d5af |
-
|
|
|
72d5af |
-done_testing;
|
|
|
72d5af |
--- t/release-changes_has_content.t
|
|
|
72d5af |
+++ t/release-changes_has_content.t
|
|
|
72d5af |
@@ -10,7 +10,6 @@ BEGIN {
|
|
|
72d5af |
|
|
|
72d5af |
use Test::More tests => 2;
|
|
|
72d5af |
|
|
|
72d5af |
-note 'Checking Changes';
|
|
|
72d5af |
my $changes_file = 'Changes';
|
|
|
72d5af |
my $newver = '0.001013';
|
|
|
72d5af |
my $trial_token = '-TRIAL';
|
|
|
72d5af |
@@ -22,8 +21,6 @@ SKIP: {
|
|
|
72d5af |
ok(_get_changes($newver), "$changes_file has content for $newver");
|
|
|
72d5af |
}
|
|
|
72d5af |
|
|
|
72d5af |
-done_testing;
|
|
|
72d5af |
-
|
|
|
72d5af |
# _get_changes copied and adapted from Dist::Zilla::Plugin::Git::Commit
|
|
|
72d5af |
# by Jerome Quelin
|
|
|
72d5af |
sub _get_changes
|
|
|
72d5af |
--- t/sex.t
|
|
|
72d5af |
+++ t/sex.t
|
|
|
72d5af |
@@ -2,7 +2,7 @@
|
|
|
72d5af |
use strict;
|
|
|
72d5af |
use warnings;
|
|
|
72d5af |
|
|
|
72d5af |
-use Test::More;
|
|
|
72d5af |
+use Test::More tests => 2;
|
|
|
72d5af |
BEGIN {
|
|
|
72d5af |
plan skip_all => 'Sub::Exporter not installed'
|
|
|
72d5af |
unless eval { require Sub::Exporter };
|
|
|
72d5af |
@@ -13,5 +13,3 @@ use A::Junk 'junk1' => { -as => 'junk' }
|
|
|
72d5af |
|
|
|
72d5af |
ok(main->can('junk'), 'sub renamed with Sub::Exporter');
|
|
|
72d5af |
ok($INC{'Sub/Exporter.pm'}, 'Sub::Exporter loaded');
|
|
|
72d5af |
-
|
|
|
72d5af |
-done_testing;
|
|
|
72d5af |
--- t/tags.t
|
|
|
72d5af |
+++ t/tags.t
|
|
|
72d5af |
@@ -1,7 +1,7 @@
|
|
|
72d5af |
use strict;
|
|
|
72d5af |
use warnings;
|
|
|
72d5af |
|
|
|
72d5af |
-use Test::More;
|
|
|
72d5af |
+use Test::More tests => 44;
|
|
|
72d5af |
use Carp;
|
|
|
72d5af |
use lib 't/lib';
|
|
|
72d5af |
use A::Junk ':other';
|
|
|
72d5af |
@@ -64,5 +64,3 @@ SKIP: {
|
|
|
72d5af |
check_tag('bar -default', [qw/foo bar/], [qw/baz/]);
|
|
|
72d5af |
}
|
|
|
72d5af |
|
|
|
72d5af |
-done_testing;
|
|
|
72d5af |
-
|
|
|
72d5af |
--- t/version-check.t
|
|
|
72d5af |
+++ t/version-check.t
|
|
|
72d5af |
@@ -1,7 +1,7 @@
|
|
|
72d5af |
|
|
|
72d5af |
use strict;
|
|
|
72d5af |
use warnings;
|
|
|
72d5af |
-use Test::More;
|
|
|
72d5af |
+use Test::More tests => 5;
|
|
|
72d5af |
|
|
|
72d5af |
BEGIN {
|
|
|
72d5af |
package AAA;
|
|
|
72d5af |
@@ -38,5 +38,3 @@ ok(eval('use AAA 1; 1'), 'perl built-in
|
|
|
72d5af |
);
|
|
|
72d5af |
}
|
|
|
72d5af |
|
|
|
72d5af |
-done_testing;
|
|
|
72d5af |
-
|