You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Package-DeprecationMan.../Package-DeprecationManager-...

31 lines
888 B

--- 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();