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