diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2014-10-09 09:14:13 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2014-10-09 09:14:13 +0100 |
commit | 513339073055a1d0742a4e370fe967e16896e45d (patch) | |
tree | b98aabc14974d11f6940e5510474fbd0252365aa /t | |
parent | 1e024ecaee14c419c5330a488bccfeb9022bede6 (diff) | |
download | perl-libnet-513339073055a1d0742a4e370fe967e16896e45d.tar.gz |
Specify the default Perl::Critic configuration
Without this, Perl::Critic will search for a .perlcriticrc file in the user's home directory or via the PERLCRITIC environment variable (in the absence of our own one in the current directory), which may cause test failures (as seen on CPAN Testers) if a non-default policy configuration is set.
Diffstat (limited to 't')
-rw-r--r-- | t/critic.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ use Test::More; MAIN: {
my $ok = eval {
require Test::Perl::Critic;
- Test::Perl::Critic->import();
+ Test::Perl::Critic->import(-profile => '');
1;
};
|