Sfoglia il codice sorgente

test: Bump ValuesAndExpressions::RequireNumberSeparators minimum to 99999

Up to 5 digits should be considered visually clear.
Guillem Jover 10 anni fa
parent
commit
707dcbf391
2 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 3 0
      debian/changelog
  2. 4 0
      t/critic/perlcriticrc

+ 3 - 0
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

+ 4 - 0
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
 ##