[SCM] libpackage-variant-perl Debian packaging branch, master, updated. debian/1.001003-1-16-g363631d
Robert Sedlacek
rs at 474.at
Thu May 9 17:13:53 UTC 2013
The following commit has been merged in the master branch:
commit 24d6c55fe4452ad0226bcdbbf3826c52ec616636
Author: Robert Sedlacek <rs at 474.at>
Date: Sat Nov 26 01:37:16 2011 +0100
make Moo::Role test only run if it's installed
diff --git a/t/20moo-param-role.t b/t/20moo-param-role.t
index 2b33250..1b17f0a 100644
--- a/t/20moo-param-role.t
+++ b/t/20moo-param-role.t
@@ -2,6 +2,11 @@ use strictures 1;
use Test::More qw(no_plan);
BEGIN {
+ eval { require Moo::Role; 1 }
+ or plan skip_all => q{Requires Moo::Role};
+}
+
+BEGIN {
package My::Role::OnOff;
use Package::Variant
--
libpackage-variant-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list