diff options
author | Guillem Jover <guillem@debian.org> | 2016-05-13 17:09:52 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2016-07-03 18:44:20 +0200 |
commit | 707dcbf39165396bf852790e7d309d4cf78123cc (patch) | |
tree | 51a7f10f79129fffd7a3c681f1d70a7e51959d3a | |
parent | 346b6eb35c7b94cadd1bd0e228aa7faae63b3e00 (diff) | |
download | dpkg-707dcbf39165396bf852790e7d309d4cf78123cc.tar.gz |
test: Bump ValuesAndExpressions::RequireNumberSeparators minimum to 99999
Up to 5 digits should be considered visually clear.
-rw-r--r-- | debian/changelog | 3 | ||||
-rw-r--r-- | t/critic/perlcriticrc | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index d73f88faa..0b5ca5f70 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,9 @@ dpkg (1.18.8) UNRELEASED; urgency=medium [ Guillem Jover ] * Perl modules: - Use warnings::warnif() instead of carp() for deprecated warnings. + * Test suite: + - Bump perlcritic ValuesAndExpressions::RequireNumberSeparators minimum + to 99999. * Documentation: - Improve dpkg-buildpackage(1) on environment expectations. - Clarify the format of the db:Status-Abbrev virtual field in diff --git a/t/critic/perlcriticrc b/t/critic/perlcriticrc index 43e25e914..1708e1f35 100644 --- a/t/critic/perlcriticrc +++ b/t/critic/perlcriticrc @@ -23,6 +23,10 @@ minimum_regex_length_to_complain_about = 60 # TODO: switch these to q{} ? allow_if_string_contains_single_quote = 1 +[ValuesAndExpressions::RequireNumberSeparators] +# Up to 5 digits considered visually clear. +min_value = 99999 + ## ## Disable tests ## |