Automatically skip syntax check if Moose is not installed
This commit is contained in:
@@ -11,7 +11,11 @@
|
||||
|
||||
use strict;
|
||||
use File::Find;
|
||||
use Test::More qw( no_plan );
|
||||
use Test::More;
|
||||
|
||||
eval "use Moose";
|
||||
plan skip_all => "Moose required for testing Perl syntax"
|
||||
if $@;
|
||||
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user