Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 0f7cc6a3e862ecde001ca2fe6e5028f2 > files > 2

perl-Package-Stash-0.29-1.fc15.src.rpm

diff -up Package-Stash-0.23/t/author-20-leaks.t.orig Package-Stash-0.23/t/author-20-leaks.t
--- Package-Stash-0.23/t/author-20-leaks.t.orig	2011-01-12 09:57:19.000000000 +0000
+++ Package-Stash-0.23/t/author-20-leaks.t	2011-01-12 09:58:40.139310210 +0000
@@ -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 => 25;
 
diff -up Package-Stash-0.23/t/author-21-leaks-debug.t.orig Package-Stash-0.23/t/author-21-leaks-debug.t
--- Package-Stash-0.23/t/author-21-leaks-debug.t.orig	2011-01-12 09:57:19.000000000 +0000
+++ Package-Stash-0.23/t/author-21-leaks-debug.t	2011-01-12 09:58:51.082622361 +0000
@@ -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 => 25;