about summary refs log tree commit
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2014-10-09 09:14:13 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2014-10-09 09:14:13 +0100
commit513339073055a1d0742a4e370fe967e16896e45d (patch)
treeb98aabc14974d11f6940e5510474fbd0252365aa
parent1e024ecaee14c419c5330a488bccfeb9022bede6 (diff)
downloadperl-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.
-rw-r--r--t/critic.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/critic.t b/t/critic.t
index 5fe75e1..123dbab 100644
--- a/t/critic.t
+++ b/t/critic.t
@@ -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;
     };