- New upstream release 0.06: - Removed hard dep on Test::Warn for the benefit of Moose - Fixed what looked like a bug in -ignore handling - The -ignore parameter now accepts regexes as well as package names - Update compatibility patches - BR: List::MoreUtils - BR: Test::Requires where possible, patch it out elsewhereepel9
parent
3b85d9bdcc
commit
ac9b164105
@ -1 +1 @@
|
||||
Package-DeprecationManager-0.04.tar.gz
|
||||
/Package-DeprecationManager-0.06.tar.gz
|
||||
|
@ -1,17 +0,0 @@
|
||||
--- Package-DeprecationManager-0.04/t/basic.t 2010-07-14 19:39:58.000000000 +0100
|
||||
+++ Package-DeprecationManager-0.04/t/basic.t 2010-07-26 10:03:44.041991697 +0100
|
||||
@@ -2,7 +2,7 @@
|
||||
use warnings;
|
||||
|
||||
use Test::Exception;
|
||||
-use Test::More;
|
||||
+use Test::More tests => 20;
|
||||
use Test::Warn;
|
||||
|
||||
{
|
||||
@@ -180,5 +180,3 @@
|
||||
q{},
|
||||
'no wanrning when calling My::Bar::foo()';
|
||||
}
|
||||
-
|
||||
-done_testing();
|
@ -0,0 +1,16 @@
|
||||
--- Package-DeprecationManager-0.06/t/basic.t.orig 2010-10-15 09:09:36.747221411 +0100
|
||||
+++ Package-DeprecationManager-0.06/t/basic.t 2010-10-15 09:08:35.411161054 +0100
|
||||
@@ -4,9 +4,10 @@
|
||||
use Test::Exception;
|
||||
use Test::More;
|
||||
|
||||
-use Test::Requires {
|
||||
- 'Test::Warn' => '0.21',
|
||||
-};
|
||||
+BEGIN {
|
||||
+ eval "use Test::Warn 0.21;";
|
||||
+ plan skip_all => "Test::Warn 0.21 is required for this test" if $@;
|
||||
+}
|
||||
|
||||
plan tests => 22;
|
||||
|
@ -0,0 +1,17 @@
|
||||
--- Package-DeprecationManager-0.06/t/basic.t 2010-10-14 20:49:26.000000000 +0100
|
||||
+++ Package-DeprecationManager-0.06/t/basic.t 2010-10-15 09:09:36.747221411 +0100
|
||||
@@ -8,6 +8,8 @@
|
||||
'Test::Warn' => '0.21',
|
||||
};
|
||||
|
||||
+plan tests => 22;
|
||||
+
|
||||
{
|
||||
throws_ok {
|
||||
eval 'package Foo; use Package::DeprecationManager;';
|
||||
@@ -221,5 +223,3 @@
|
||||
q{},
|
||||
'no warning when calling My::Package2::foo()';
|
||||
}
|
||||
-
|
||||
-done_testing();
|
Loading…
Reference in new issue