From: Graham Knop Date: Mon, 23 Dec 2013 02:47:43 +0000 (-0500) Subject: clean up release tests X-Git-Tag: v2.000_000~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2714541dd7c45a7a5f11d0fe77228200ab3d9171;p=p5sagit%2Flocal-lib.git clean up release tests --- diff --git a/xt/release/cpan-changes.t b/xt/release/cpan-changes.t index 9ee37b4..e6260e7 100644 --- a/xt/release/cpan-changes.t +++ b/xt/release/cpan-changes.t @@ -1,9 +1,6 @@ use strict; use warnings; +use Test::More tests => 1; -use Test::More 0.96 tests => 2; -use_ok('Test::CPAN::Changes'); -subtest 'changes_ok' => sub { - changes_file_ok('Changes'); -}; -done_testing(); +use Test::CPAN::Changes; +changes_file_ok('Changes'); diff --git a/xt/release/kwalitee.t b/xt/release/kwalitee.t index 11149fd..41ee737 100644 --- a/xt/release/kwalitee.t +++ b/xt/release/kwalitee.t @@ -1,3 +1,9 @@ use strict; use warnings; +use Test::More; + +BEGIN { + plan skip_all => 'release only test' + unless -f 'META.yml'; +} use Test::Kwalitee; diff --git a/xt/release/minimum-version.t b/xt/release/minimum-version.t index 6551d45..9a7a449 100644 --- a/xt/release/minimum-version.t +++ b/xt/release/minimum-version.t @@ -1,6 +1,6 @@ use strict; use warnings; - use Test::More; + use Test::MinimumVersion; -all_minimum_version_ok( qq{5.008001} ); +all_minimum_version_ok( qq{5.006} );