[libmoox-late-perl] 02/03: skip test if no MX:T:ML:B
Intrigeri
intrigeri at moszumanska.debian.org
Thu Aug 14 11:13:36 UTC 2014
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to tag 0.006
in repository libmoox-late-perl.
commit 261b7137cfafdaf802997a1a760fc55842bd2490
Author: Toby Inkster <mail at tobyinkster.co.uk>
Date: Tue Dec 11 16:52:19 2012 +0000
skip test if no MX:T:ML:B
---
t/02inflation.t | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/t/02inflation.t b/t/02inflation.t
index 9dd5488..7d72450 100644
--- a/t/02inflation.t
+++ b/t/02inflation.t
@@ -3,6 +3,11 @@ use warnings;
use Test::More;
BEGIN {
+ eval { require MooX::Types::MooseLike::Base }
+ or plan skip_all => 'requires MooX::Types::MooseLike::Base'
+};
+
+BEGIN {
package Local::Class;
use Moo;
use MooX::late;
@@ -31,6 +36,8 @@ done_testing;
Check that our type constraints are correctly inflated to Moose type
constraints.
+This test is skipped if L<MooX::Types::MooseLike::Base> is unavailable.
+
=head1 AUTHOR
Toby Inkster E<lt>tobyink at cpan.orgE<gt>.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmoox-late-perl.git
More information about the Pkg-perl-cvs-commits
mailing list