perl-Perl-OSType/Perl-OSType-1.003-old-Test::More.patch
Paul Howarth 1410c09cb7 Update to 1.003
- New upstream release 1.003
  - Fixed detection of VOS; $^O reports 'vos', not 'VOS'
  - Additional release tests
- BR: perl(File::Spec::Functions), perl(List::Util),
  perl(Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire),
  perl(Pod::Wordlist::hanekomu), perl(Test::MinimumVersion),
  perl(Test::Perl::Critic), perl(Test::Spelling) and perl(Test::Version)
- Identify purpose of each build requirement
- Update patches for building on old distributions
- Don't run extra tests for EPEL-5/6 builds
2013-03-21 11:15:00 +00:00

36 lines
790 B
Diff

--- t/OSType.t
+++ t/OSType.t
@@ -1,7 +1,7 @@
use strict;
use warnings;
-use Test::More 0.88;
+use Test::More tests => 19;
use constant NON_EXISTENT_OS => 'titanix'; #the system they said could not go down...
@@ -66,6 +66,3 @@ can_ok( $test_pkg, @functions );
ok( is_os_type( 'VOS' ), "$fcn: true" );
ok( ! is_os_type(), "$fcn: false if no type provided" );
}
-
-done_testing;
-
--- xt/release/test-version.t
+++ xt/release/test-version.t
@@ -1,6 +1,6 @@
use strict;
use warnings;
-use Test::More;
+use Test::More tests => 2;
# generated by Dist::Zilla::Plugin::Test::Version 0.002004
BEGIN { eval "use Test::Version; 1;" or die $@; }
@@ -18,5 +18,4 @@ push @imports, $params
Test::Version->import(@imports);
-version_all_ok;
-done_testing;
+version_all_ok();