diff options
author | Guillem Jover <guillem@debian.org> | 2012-12-30 03:08:21 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2013-04-29 18:46:50 +0200 |
commit | 14b92d54d044fc9b932997869107a1ae02a1a60f (patch) | |
tree | 31dc5ea0f3f85b5b3f0a6db3dacc361d3f912fa8 /test | |
parent | f215ebacf1183e33da3287533c8eec60cc5af418 (diff) | |
download | dpkg-14b92d54d044fc9b932997869107a1ae02a1a60f.tar.gz |
scripts: Do not use sort directly on the return keyword
Fixes Subroutines::ProhibitReturnSort.
Warned-by: perlcritic
Diffstat (limited to 'test')
-rw-r--r-- | test/100_critic.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/100_critic.t b/test/100_critic.t index 3e91080f2..cae188f0b 100644 --- a/test/100_critic.t +++ b/test/100_critic.t @@ -63,6 +63,7 @@ my @policies = qw( Modules::RequireFilenameMatchesPackage Subroutines::ProhibitExplicitReturnUndef Subroutines::ProhibitNestedSubs + Subroutines::ProhibitReturnSort TestingAndDebugging::ProhibitNoStrict TestingAndDebugging::ProhibitNoWarnings TestingAndDebugging::RequireUseStrict |