From 02f777ae6a330e4ced184958fea0126d4b662ecd Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Sat, 4 Mar 2017 21:25:56 +1300 Subject: [PATCH] Build results of 070839d (on master) --- Changes | 2 +- t/attach.t | 4 +--- t/basic.t | 4 +--- t/complex.t | 4 +--- t/fails.t | 5 +---- 5 files changed, 5 insertions(+), 14 deletions(-) diff --git a/Changes b/Changes index 3c6cc05..1b4cfd1 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,6 @@ Release history for CPAN-Changes-Group-Dependencies-Stats -0.002008 2017-03-04T08:17:48Z 6f3348d +0.002008 2017-03-04T08:25:23Z 070839d [Bugfix] - Avoid test failures on 5.26 w/ -Ddefault_inc_excludes_dot - Closes https://github.com/kentnl/CPAN-Changes-Group-Dependencies-Stats/issues/2 diff --git a/t/attach.t b/t/attach.t index 1700965..8b5a67d 100644 --- a/t/attach.t +++ b/t/attach.t @@ -39,6 +39,7 @@ EOF skip_all => sprintf "Serialization scheme of CPAN::Changes %s is different to that of %s", $CPAN::Changes::VERSION, $sample_version; } +plan tests => 4; local $TODO; if ( not eval "CPAN::Changes->VERSION(q[0.500]); 1" ) { $TODO = "Legacy serialization scheme"; @@ -78,6 +79,3 @@ eq_or_diff $string, <<'EOF', 'Serialize as expected'; [Dependencies::Stats] - runtime: +1 EOF - -done_testing; - diff --git a/t/basic.t b/t/basic.t index 1a3c506..681977c 100644 --- a/t/basic.t +++ b/t/basic.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More; +use Test::More tests => 53; use Test::Differences; # ABSTRACT: Basic comparison @@ -159,5 +159,3 @@ for my $phase (qw ( runtime build configure test develop )) { 'Mulitmix'; } -done_testing; - diff --git a/t/complex.t b/t/complex.t index 699acbf..4833526 100644 --- a/t/complex.t +++ b/t/complex.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More; +use Test::More tests => 1; use Test::Differences; # ABSTRACT: Complex comparison @@ -19,5 +19,3 @@ use CPAN::Changes::Group::Dependencies::Stats; eq_or_diff $diff->changes, ["runtime: ~1"], 'Complex deps changed.'; } -done_testing; - diff --git a/t/fails.t b/t/fails.t index ef8fbf6..7a90f16 100644 --- a/t/fails.t +++ b/t/fails.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More; +use Test::More tests => 4; # ABSTRACT: Things that fail use CPAN::Changes::Group::Dependencies::Stats; @@ -59,6 +59,3 @@ is_fail 'Missing prereq old' => sub { isnt_fail 'Missing prereq old' => sub { CPAN::Changes::Group::Dependencies::Stats->new( new_prereqs => {}, old_prereqs => {} )->changes; }; - -done_testing; -