summary refs log tree commit diff
path: root/xt/02_perlcritic.t
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2009-05-30 11:14:01 +0200
committerfranck cuny <franck@lumberjaph.net>2009-05-30 11:14:01 +0200
commitb96d3c0287b46c5fd30a8c084c28a20723f1e967 (patch)
tree7708fd30e0429f720bb278f68e18d795942f644b /xt/02_perlcritic.t
downloadcatalystx-dispatcher-asgraph-b96d3c0287b46c5fd30a8c084c28a20723f1e967.tar.gz
import
Diffstat (limited to 'xt/02_perlcritic.t')
-rw-r--r--xt/02_perlcritic.t8
1 files changed, 8 insertions, 0 deletions
diff --git a/xt/02_perlcritic.t b/xt/02_perlcritic.t
new file mode 100644
index 0000000..b977df8
--- /dev/null
+++ b/xt/02_perlcritic.t
@@ -0,0 +1,8 @@
+use strict;
+use Test::More;
+eval {
+    require Test::Perl::Critic;
+    Test::Perl::Critic->import( -profile => 'xt/perlcriticrc');
+};
+plan skip_all => "Test::Perl::Critic is not installed." if $@;
+all_critic_ok('lib');