diff options
author | Toby Inkster <mail@tobyinkster.co.uk> | 2012-12-11 16:52:19 +0000 |
---|---|---|
committer | Toby Inkster <mail@tobyinkster.co.uk> | 2012-12-11 16:52:19 +0000 |
commit | 261b7137cfafdaf802997a1a760fc55842bd2490 (patch) | |
tree | 78f9a4be4da3049887427e0eab170c7b3c8884be /t | |
parent | 40097c508785faa4627eefe16dff0593075bc800 (diff) |
skip test if no MX:T:ML:B
Diffstat (limited to 't')
-rw-r--r-- | t/02inflation.t | 7 |
1 files changed, 7 insertions, 0 deletions
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@cpan.orgE<gt>. |