Skip to content

Commit 2ebb935

Browse files
committed
tidy
1 parent ed95ff7 commit 2ebb935

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

bin/contributor.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ ($release)
187187
$authors = [ grep { $_ ne 'unknown' } @$authors ];
188188

189189
my $author_email = $author_mapping->{$author_name}
190-
//= eval { $es_author->get_source( $author_name )->{email}; }
190+
//= eval { $es_author->get_source($author_name)->{email}; }
191191
or return [];
192192
193193
my $author_info = {

lib/MetaCPAN/File.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ sub set_suggest ($self) {
288288
$weight = 0 if $weight < 0;
289289

290290
$self->{suggest} = +{
291-
input => [$doc],
292-
weight => $weight,
291+
input => [$doc],
292+
weight => $weight,
293293
};
294294
}
295295

t/00_setup.t

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ subtest 'Release Indexing' => sub {
131131
}
132132
)->{count};
133133

134-
ok( $release_count == 1, "Found ($release_count) release entries for HTML-Parser-3.83" );
134+
ok( $release_count == 1,
135+
"Found ($release_count) release entries for HTML-Parser-3.83" );
135136
};
136137

137138
subtest 'Cover Indexing' => sub {
@@ -152,13 +153,14 @@ subtest 'Contributor Indexing' => sub {
152153
# run the contributor indexing script
153154
`perl $contributor_script -release OALDERS/HTML-Parser-3.83`;
154155

155-
my $es_contributor = MetaCPAN::ES->new( index => 'contributor' );
156+
my $es_contributor = MetaCPAN::ES->new( index => 'contributor' );
156157
my $contributor_count = $es_contributor->count(
157158
body => {
158159
query => { match => { release_name => 'HTML-Parser-3.83' } },
159160
}
160161
)->{count};
161-
ok( $contributor_count > 0, "Found ($contributor_count) contributors for HTML-Parser-3.83" );
162+
ok( $contributor_count > 0,
163+
"Found ($contributor_count) contributors for HTML-Parser-3.83" );
162164
};
163165

164166
# TODO:

0 commit comments

Comments
 (0)