diff options
author | Guillem Jover <guillem@debian.org> | 2013-01-09 21:46:21 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2013-11-24 06:01:05 +0100 |
commit | 0e6111a3af79ba1fc1959535780ee420e5dab651 (patch) | |
tree | 02f69ebddf03a96a9c4ec3cb1ebf6373b872ade0 /test | |
parent | 9a1e6db62b37c76f609e012ae4e86018def587de (diff) | |
download | dpkg-0e6111a3af79ba1fc1959535780ee420e5dab651.tar.gz |
perl: Always check open() return value
Fixes InputOutput::RequireCheckedOpen.
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 a7bca46f4..fdf0c2dda 100644 --- a/test/100_critic.t +++ b/test/100_critic.t @@ -65,6 +65,7 @@ my @policies = qw( InputOutput::ProhibitOneArgSelect InputOutput::ProhibitReadlineInForLoop InputOutput::ProhibitTwoArgOpen + InputOutput::RequireCheckedOpen InputOutput::RequireEncodingWithUTF8Layer Miscellanea::ProhibitFormats Miscellanea::ProhibitUnrestrictedNoCritic |