Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

critic cleanups

  • Loading branch information...
commit 5701a8aee290b0e56a58d0d45662e3e85e825a6b 1 parent d93ff9e
Andy Lester authored

Showing 2 changed files with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 0  perlcriticrc
  2. +1 1  t/20_policies.t
2  perlcriticrc
@@ -3,6 +3,7 @@
3 3 [-CodeLayout::ProhibitParensWithBuiltins]
4 4 [CodeLayout::ProhibitHardTabs]
5 5 allow_leading_tabs = 0
  6 +[-CodeLayout::RequireTidyCode]
6 7
7 8 [-ControlStructures::ProhibitPostfixControls]
8 9
@@ -15,6 +16,7 @@ allow_leading_tabs = 0
15 16
16 17 [-RegularExpressions::RequireExtendedFormatting]
17 18 [-RegularExpressions::RequireLineBoundaryMatching]
  19 +[-RegularExpressions::RequireDotMatchAnything]
18 20
19 21 [-ValuesAndExpressions::ProhibitConstantPragma]
20 22 [-ValuesAndExpressions::ProhibitEmptyQuotes]
2  t/20_policies.t
@@ -41,7 +41,7 @@ my $nsubtests = 0;
41 41 for my $s (values %{$subtests}) {
42 42 $nsubtests += @{$s}; # one [pf]critique() test per subtest
43 43 }
44   -my $npolicies = scalar keys %$subtests; # one can() test per policy
  44 +my $npolicies = scalar keys %{$subtests}; # one can() test per policy
45 45
46 46 plan tests => $nsubtests + $npolicies;
47 47

0 comments on commit 5701a8a

Please sign in to comment.
Something went wrong with that request. Please try again.