summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2012-12-31 22:13:39 +0100
committerGuillem Jover <guillem@debian.org>2013-05-06 03:36:23 +0200
commit9feb1c833b0264e3c062698c591d3d1dd528764d (patch)
tree536d025b1276a69c805582763d3060b2009bdb99 /test
parent6a73e3078b01a71d4a6ea90c85da16523ed56f1d (diff)
downloaddpkg-9feb1c833b0264e3c062698c591d3d1dd528764d.tar.gz
scripts: Initialize arrays with the qw() operator
Fixes CodeLayout::ProhibitQuotedWordLists. Warned-by: perlcritic
Diffstat (limited to 'test')
-rw-r--r--test/100_critic.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/100_critic.t b/test/100_critic.t
index 9b3e9e1bd..7e7fb5d65 100644
--- a/test/100_critic.t
+++ b/test/100_critic.t
@@ -44,6 +44,7 @@ my @policies = qw(
ClassHierarchies::ProhibitAutoloading
ClassHierarchies::ProhibitExplicitISA
ClassHierarchies::ProhibitOneArgBless
+ CodeLayout::ProhibitQuotedWordLists
CodeLayout::RequireConsistentNewlines
ControlStructures::ProhibitLabelsWithSpecialBlockNames
ControlStructures::ProhibitUntilBlocks