Skip to content

Commit 297eabb

Browse files
charsbardaxim
authored andcommitted
changed variable names to match corresponding is_* flags
1 parent 753c8c9 commit 297eabb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

t/02_kwalitee.t

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ use Test::NoWarnings;
77
use Module::CPANTS::Kwalitee;
88

99
my $CORE = 26;
10-
my $OPTIONAL = 8; #is_extra set
11-
my $EXTRA = 10; #experimental?
12-
my $METRICS = $CORE + $OPTIONAL + $EXTRA;
10+
my $EXTRA = 8; #is_extra set
11+
my $EXPERIMENTAL = 10; #experimental?
12+
my $METRICS = $CORE + $EXTRA + $EXPERIMENTAL;
1313

1414
plan tests => 8 + 2 * $METRICS;
1515

1616
my $k=Module::CPANTS::Kwalitee->new({});
1717

1818
is($k->available_kwalitee, $CORE, 'available kwalitee');
19-
is($k->total_kwalitee, $CORE + $OPTIONAL, 'total kwalitee');
19+
is($k->total_kwalitee, $CORE + $EXTRA, 'total kwalitee');
2020

2121

2222
my $ind=$k->get_indicators_hash;
@@ -35,7 +35,7 @@ is(ref($ind->{use_strict}),'HASH','hash element');
3535

3636
{
3737
my @all=$k->optional_indicator_names;
38-
is(@all, $OPTIONAL,'number of optional indicators');
38+
is(@all, $EXTRA,'number of optional indicators');
3939
}
4040

4141

0 commit comments

Comments
 (0)