|
|
1c2c16 |
--- t/000-report-versions-tiny.t
|
|
|
1c2c16 |
+++ t/000-report-versions-tiny.t
|
|
|
1c2c16 |
@@ -1,12 +1,6 @@
|
|
|
1c2c16 |
use strict;
|
|
|
1c2c16 |
use warnings;
|
|
|
1c2c16 |
-use Test::More 0.88;
|
|
|
1c2c16 |
-# This is a relatively nice way to avoid Test::NoWarnings breaking our
|
|
|
1c2c16 |
-# expectations by adding extra tests, without using no_plan. It also helps
|
|
|
1c2c16 |
-# avoid any other test module that feels introducing random tests, or even
|
|
|
1c2c16 |
-# test plans, is a nice idea.
|
|
|
1c2c16 |
-our $success = 0;
|
|
|
1c2c16 |
-END { $success && done_testing; }
|
|
|
1c2c16 |
+use Test::More tests => 1;
|
|
|
1c2c16 |
|
|
|
1c2c16 |
# List our own version used to generate this
|
|
|
1c2c16 |
my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10\n";
|
|
|
1c2c16 |
@@ -52,7 +46,7 @@ eval { $v .= pmver('Carp','any version')
|
|
|
1c2c16 |
eval { $v .= pmver('ExtUtils::MakeMaker','6.30') };
|
|
|
1c2c16 |
eval { $v .= pmver('Scalar::Util','any version') };
|
|
|
1c2c16 |
eval { $v .= pmver('Symbol','any version') };
|
|
|
1c2c16 |
-eval { $v .= pmver('Test::More','0.96') };
|
|
|
1c2c16 |
+eval { $v .= pmver('Test::More','0.47') };
|
|
|
1c2c16 |
eval { $v .= pmver('strict','any version') };
|
|
|
1c2c16 |
eval { $v .= pmver('warnings','any version') };
|
|
|
1c2c16 |
|
|
|
1c2c16 |
@@ -68,7 +62,6 @@ EOT
|
|
|
1c2c16 |
|
|
|
1c2c16 |
diag($v);
|
|
|
1c2c16 |
ok(1, "we really didn't test anything, just reporting data");
|
|
|
1c2c16 |
-$success = 1;
|
|
|
1c2c16 |
|
|
|
1c2c16 |
# Work around another nasty module on CPAN. :/
|
|
|
1c2c16 |
no warnings 'once';
|
|
|
1c2c16 |
--- xt/release/changes_has_content.t
|
|
|
1c2c16 |
+++ xt/release/changes_has_content.t
|
|
|
1c2c16 |
@@ -2,7 +2,6 @@
|
|
|
1c2c16 |
|
|
|
1c2c16 |
use Test::More tests => 2;
|
|
|
1c2c16 |
|
|
|
1c2c16 |
-note 'Checking Changes';
|
|
|
1c2c16 |
my $changes_file = 'Changes';
|
|
|
1c2c16 |
my $newver = '1.106';
|
|
|
1c2c16 |
my $trial_token = '-TRIAL';
|
|
|
1c2c16 |
@@ -14,8 +13,6 @@ SKIP: {
|
|
|
1c2c16 |
ok(_get_changes($newver), "$changes_file has content for $newver");
|
|
|
1c2c16 |
}
|
|
|
1c2c16 |
|
|
|
1c2c16 |
-done_testing;
|
|
|
1c2c16 |
-
|
|
|
1c2c16 |
# _get_changes copied and adapted from Dist::Zilla::Plugin::Git::Commit
|
|
|
1c2c16 |
# by Jerome Quelin
|
|
|
1c2c16 |
sub _get_changes
|