From 62bc788a45e4a641c28ca9c8c5b9bb08f29faed8 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sun, 21 Apr 2013 06:10:17 +0200 Subject: Do not quote simple identifier hash keys in element accesses Addresses ValuesAndExpressions::ProhibitInterpolationOfLiterals. Warned-by: perlcritic --- scripts/t/400_Dpkg_Deps.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/t/400_Dpkg_Deps.t') diff --git a/scripts/t/400_Dpkg_Deps.t b/scripts/t/400_Dpkg_Deps.t index 80ca1e3e1..24a37f3f5 100644 --- a/scripts/t/400_Dpkg_Deps.t +++ b/scripts/t/400_Dpkg_Deps.t @@ -97,7 +97,7 @@ is($dep_empty1->output(), "", "Empty dependency"); my $dep_empty2 = deps_parse(" , , ", union => 1); is($dep_empty2->output(), "", "' , , ' is also an empty dependency"); -$SIG{'__WARN__'} = sub {}; +$SIG{__WARN__} = sub {}; my $dep_bad_multiline = deps_parse("a, foo\nbar, c"); ok(!defined($dep_bad_multiline), "invalid dependency split over multiple line"); -delete $SIG{'__WARN__'}; +delete $SIG{__WARN__}; -- cgit v1.2.3