Commits

Toby Inkster  committed c56b9c2

skip test if no MX:T:ML:B

  • Participants
  • Parent commits 9797dc8

Comments (0)

Files changed (1)

File t/02inflation.t

 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;
 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>.