Permalink
Browse files

Fix test if module not installed

  • Loading branch information...
worldmind committed Apr 15, 2011
1 parent 87437c1 commit 8a5fd622f70434488c7a94cdc9ceaf35bbe6f5eb
Showing with 3 additions and 1 deletion.
  1. +3 −1 xt/30-perltidy.t
View
@@ -3,8 +3,10 @@
use strict;
use warnings;
+use Test::More;
-use Test::PerlTidy;
+eval 'use Test::PerlTidy'; ## no critic
+plan skip_all => 'PerlTidy required' if $@;
run_tests(
path => 'lib',

0 comments on commit 8a5fd62

Please sign in to comment.