summaryrefslogtreecommitdiff
path: root/xt/02_perlcritic.t
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-04-13 15:58:45 +0200
committerfranck cuny <franck@lumberjaph.net>2010-04-13 15:58:45 +0200
commit3f350e7994c7b6b09565bc2a451bf09aac7ddb9a (patch)
tree0b966aa509b63cacc866f8ec3d59702e869231c3 /xt/02_perlcritic.t
downloadpresque-3f350e7994c7b6b09565bc2a451bf09aac7ddb9a.tar.gz
initial commit
Diffstat (limited to '')
-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');