Converted to Module::Install.
[catagits/Catalyst-Plugin-RequireSSL.git] / xt / author / 04critic.t
CommitLineData
6406f7c2 1use strict;
2use warnings;
3
4use File::Spec;
5use FindBin ();
6use Test::More;
7
8eval { require Test::Perl::Critic };
9if ( $@ ) {
10 plan tests => 1;
11 fail( 'You must install Test::Perl::Critic to run 04critic.t' );
12 exit;
13}
14
15my $rcfile = File::Spec->catfile( $FindBin::Bin, '04critic.rc' );
16Test::Perl::Critic->import( -profile => $rcfile );
17all_critic_ok();