Skip to content

Commit

Permalink
Merge pull request #102 from xslate/optional-MouseX-Foreign
Browse files Browse the repository at this point in the history
requires MouseX::Foreign optionally
  • Loading branch information
skaji committed Aug 26, 2019
2 parents e6910f0 + 0d194e7 commit 167b9d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion cpanfile
Expand Up @@ -26,7 +26,6 @@ on 'test' => sub {
requires 'Test::Output';
requires 'Test::Requires';
requires 'Try::Tiny';
requires 'MouseX::Foreign';
};

on 'develop' => sub {
Expand Down
4 changes: 4 additions & 0 deletions t/900_mouse_bugs/021_issue100_sevg.t
Expand Up @@ -2,6 +2,10 @@ use strict;
use warnings;

use Test::More;
BEGIN {
eval { require MouseX::Foreign };
plan skip_all => "Test requires module 'MouseX::Foreign' but it's not found" if $@;
}

{
package SuperClass;
Expand Down

0 comments on commit 167b9d3

Please sign in to comment.