summaryrefslogtreecommitdiff
path: root/xt/author/critic.t
blob: d5b4c96b1267b25d84c8105126e044055b72d919 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!perl

use strict;
use warnings;

use Test::More;
use English qw(-no_match_vars);

eval "use Test::Perl::Critic";
plan skip_all => 'Test::Perl::Critic required to criticise code' if $@;
Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e "perlcritic.rc";
all_critic_ok();