summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2013-02-19 21:22:11 +0100
committerGuillem Jover <guillem@debian.org>2013-07-22 01:56:06 +0200
commit46bc7b2ee075f73231cee90446248ce43d69eda3 (patch)
treea54ee033b412301ed239b84c14044cf7117066f0 /test
parentac36c31b05fc211a5688d1714d5589f227a1bdbd (diff)
downloaddpkg-46bc7b2ee075f73231cee90446248ce43d69eda3.tar.gz
Dpkg::Shlibs::Objdump: Add an optional objdump argument to get_format
This gets rid of the localized $OBJDUMP variable, by explicitly passing the overriden value to the recursive call. Fixes Variables::ProhibitLocalVars.
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 39d52ec8a..1ffee1c7d 100644
--- a/test/100_critic.t
+++ b/test/100_critic.t
@@ -100,6 +100,7 @@ my @policies = qw(
ValuesAndExpressions::RequireUpperCaseHeredocTerminator
Variables::ProhibitAugmentedAssignmentInDeclaration
Variables::ProhibitConditionalDeclarations
+ Variables::ProhibitLocalVars
Variables::ProhibitPerl4PackageNames
Variables::ProhibitUnusedVariables
Variables::ProtectPrivateVars