perl-Package-Stash/Package-Stash-0.32-no-Test::LeakTrace.patch
Paul Howarth 1a294d28ce Update to 0.32
- New upstream release 0.32
  - Bring the behavior of has_symbol for nonexistant scalars into line with the
    XS version
  - Invalid package names (for instance, Foo:Bar) are not allowed
  - Invalid stash entry names (anything containing ::) are not allowed
- Update patches to apply cleanly
- Bump perl(Package::Stash::XS) version requirement to 0.24
2011-09-06 20:29:32 +01:00

27 lines
960 B
Diff

diff -up Package-Stash-0.32/t/author-leaks-debug.t.orig Package-Stash-0.32/t/author-leaks-debug.t
--- Package-Stash-0.32/t/author-leaks-debug.t.orig 2011-09-06 12:43:32.000000000 +0100
+++ Package-Stash-0.32/t/author-leaks-debug.t 2011-09-06 12:45:29.866712947 +0100
@@ -12,7 +12,8 @@ use warnings;
use lib 't/lib';
use Test::More;
use Test::Fatal;
-use Test::LeakTrace;
+eval "use Test::LeakTrace";
+plan skip_all => "Test::LeakTrace required for this test" if $@;
plan tests => 29;
diff -up Package-Stash-0.32/t/author-leaks.t.orig Package-Stash-0.32/t/author-leaks.t
--- Package-Stash-0.32/t/author-leaks.t.orig 2011-09-06 12:43:32.000000000 +0100
+++ Package-Stash-0.32/t/author-leaks.t 2011-09-06 12:45:58.177640368 +0100
@@ -12,7 +12,8 @@ use warnings;
use lib 't/lib';
use Test::More;
use Test::Fatal;
-use Test::LeakTrace;
+eval "use Test::LeakTrace";
+plan skip_all => "Test::LeakTrace required for this test" if $@;
plan tests => 29;