- New upstream release 0.09: - Added a compilation test - Updated patch for old Test::More versionsepel9
parent
658eaa2258
commit
f5873d8e9b
@ -1 +1 @@
|
|||||||
/Package-DeprecationManager-0.08.tar.gz
|
/Package-DeprecationManager-0.09.tar.gz
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
--- Package-DeprecationManager-0.08/t/basic.t 2010-10-15 17:39:30.000000000 +0100
|
|
||||||
+++ Package-DeprecationManager-0.08/t/basic.t 2010-10-15 21:08:31.669098682 +0100
|
|
||||||
@@ -8,6 +8,8 @@ use Test::Requires {
|
|
||||||
'Test::Output' => '0.16',
|
|
||||||
};
|
|
||||||
|
|
||||||
+plan tests => 25;
|
|
||||||
+
|
|
||||||
{
|
|
||||||
throws_ok {
|
|
||||||
eval 'package Foo; use Package::DeprecationManager;';
|
|
||||||
@@ -216,5 +218,3 @@ use Test::Requires {
|
|
||||||
q{},
|
|
||||||
'no deprecation warning for second call to My::Package1::foo()';
|
|
||||||
}
|
|
||||||
-
|
|
||||||
-done_testing();
|
|
@ -0,0 +1,30 @@
|
|||||||
|
--- Package-DeprecationManager-0.09/t/basic.t 2010-10-17 21:08:57.000000000 +0100
|
||||||
|
+++ Package-DeprecationManager-0.09/t/basic.t 2010-10-18 11:06:20.627170768 +0100
|
||||||
|
@@ -8,6 +8,8 @@ use Test::Requires {
|
||||||
|
'Test::Output' => '0.16',
|
||||||
|
};
|
||||||
|
|
||||||
|
+plan tests => 25;
|
||||||
|
+
|
||||||
|
{
|
||||||
|
throws_ok {
|
||||||
|
eval 'package Foo; use Package::DeprecationManager;';
|
||||||
|
@@ -216,5 +218,3 @@ use Test::Requires {
|
||||||
|
q{},
|
||||||
|
'no deprecation warning for second call to My::Package1::foo()';
|
||||||
|
}
|
||||||
|
-
|
||||||
|
-done_testing();
|
||||||
|
--- Package-DeprecationManager-0.09/t/compile.t 2010-10-17 21:08:57.000000000 +0100
|
||||||
|
+++ Package-DeprecationManager-0.09/t/compile.t 2010-10-18 11:07:01.795223136 +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();
|
Loading…
Reference in new issue