- New upstream release 0.11: - Allow an empty hash for the -deprecations parameter - BR: perl(Test::CPAN::Changes) - BR: perl(Pod::Coverage::TrustPod) unconditionally - Update patches for old ExtUtils::MakeMaker and Test::More compatibilityepel9
parent
0deab4998b
commit
4e4ca7b117
@ -1 +1 @@
|
||||
/Package-DeprecationManager-0.10.tar.gz
|
||||
/Package-DeprecationManager-[0-9.]*.tar.gz
|
||||
|
@ -1,30 +0,0 @@
|
||||
--- Package-DeprecationManager-0.10/t/basic.t 2010-10-26 18:35:07.000000000 +0100
|
||||
+++ Package-DeprecationManager-0.10/t/basic.t 2010-10-27 09:25:24.244144715 +0100
|
||||
@@ -8,6 +8,8 @@ use Test::Requires {
|
||||
'Test::Output' => '0.16',
|
||||
};
|
||||
|
||||
+plan tests => 25;
|
||||
+
|
||||
{
|
||||
like(
|
||||
exception {
|
||||
@@ -218,5 +220,3 @@ use Test::Requires {
|
||||
q{},
|
||||
'no deprecation warning for second call to My::Package1::foo()';
|
||||
}
|
||||
-
|
||||
-done_testing();
|
||||
--- Package-DeprecationManager-0.10/t/compile.t 2010-10-26 18:35:07.000000000 +0100
|
||||
+++ Package-DeprecationManager-0.10/t/compile.t 2010-10-27 09:24:47.312183595 +0100
|
||||
@@ -1,9 +1,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More;
|
||||
+use Test::More tests => 1;
|
||||
|
||||
eval "require Package::DeprecationManager";
|
||||
ok( ! $@, 'no errors loading require Package::DeprecationManager' );
|
||||
-
|
||||
-done_testing();
|
@ -0,0 +1,56 @@
|
||||
diff -up Package-DeprecationManager-0.11/t/basic.t.orig Package-DeprecationManager-0.11/t/basic.t
|
||||
--- Package-DeprecationManager-0.11/t/basic.t.orig 2011-06-20 03:32:49.000000000 +0100
|
||||
+++ Package-DeprecationManager-0.11/t/basic.t 2011-06-20 10:57:16.388489180 +0100
|
||||
@@ -8,6 +8,8 @@ use Test::Requires {
|
||||
'Test::Output' => '0.16',
|
||||
};
|
||||
|
||||
+plan tests => 25;
|
||||
+
|
||||
{
|
||||
like(
|
||||
exception {
|
||||
@@ -218,5 +220,3 @@ use Test::Requires {
|
||||
q{},
|
||||
'no deprecation warning for second call to My::Package1::foo()';
|
||||
}
|
||||
-
|
||||
-done_testing();
|
||||
diff -up Package-DeprecationManager-0.11/t/compile.t.orig Package-DeprecationManager-0.11/t/compile.t
|
||||
--- Package-DeprecationManager-0.11/t/compile.t.orig 2011-06-20 03:32:49.000000000 +0100
|
||||
+++ Package-DeprecationManager-0.11/t/compile.t 2011-06-20 10:57:16.398490068 +0100
|
||||
@@ -1,9 +1,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More;
|
||||
+use Test::More tests => 1;
|
||||
|
||||
eval "require Package::DeprecationManager";
|
||||
ok( ! $@, 'no errors loading require Package::DeprecationManager' );
|
||||
-
|
||||
-done_testing();
|
||||
diff -up Package-DeprecationManager-0.11/t/release-cpan-changes.t.orig Package-DeprecationManager-0.11/t/release-cpan-changes.t
|
||||
--- Package-DeprecationManager-0.11/t/release-cpan-changes.t.orig 2011-06-20 03:32:49.000000000 +0100
|
||||
+++ Package-DeprecationManager-0.11/t/release-cpan-changes.t 2011-06-20 11:00:39.775567270 +0100
|
||||
@@ -1,15 +1,11 @@
|
||||
#!perl
|
||||
|
||||
+use Test::More;
|
||||
+
|
||||
BEGIN {
|
||||
- unless ($ENV{RELEASE_TESTING}) {
|
||||
- require Test::More;
|
||||
- Test::More::plan(skip_all => 'these tests are for release candidate testing');
|
||||
- }
|
||||
+ plan skip_all => 'these tests are for release candidate testing' unless ($ENV{RELEASE_TESTING});
|
||||
+ eval 'use Test::CPAN::Changes';
|
||||
+ plan skip_all => 'Test::CPAN::Changes required for this test' if $@;
|
||||
}
|
||||
|
||||
-
|
||||
-use Test::More;
|
||||
-eval 'use Test::CPAN::Changes';
|
||||
-plan skip_all => 'Test::CPAN::Changes required for this test' if $@;
|
||||
changes_ok();
|
||||
-done_testing();
|
Loading…
Reference in new issue