Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Tidy tests
  • Loading branch information
oalders committed Jan 19, 2021
commit 99f460d4727158192a06a77d68a419017a32c3d9
2 changes: 1 addition & 1 deletion t/server/controller/changes.t
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ my @tests = (
# 'perl' doesn't get flagged as latest.
[
'/changes/RWSTAUNER/perl-1' => 200,
'perldelta.pod' =>
'perldelta.pod' =>
qr/^=head1 NAME\n\nperldelta - changes for perl\n\n/m,
$RWSTAUNER_default_headers,
],
Expand Down
2 changes: 1 addition & 1 deletion t/server/controller/package.t
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ test_psgi app, sub {
{
module_name => $module_name,
version => '0.02',
file =>
file =>
'M/MI/MIYAGAWA/CPAN-Test-Dummy-Perl5-VersionBump-0.02.tar.gz',
author => 'MIYAGAWA',
distribution => 'CPAN-Test-Dummy-Perl5-VersionBump',
Expand Down
2 changes: 1 addition & 1 deletion t/server/controller/search/autocomplete.t
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test_psgi app, sub {
Multiple::Modules::Tester
Multiple::Modules::RDeps::A
Multiple::Modules::RDeps::Deprecated
)
)
],
'results are sorted lexically by module name + length'
or diag( Test::More::explain($got) );
Expand Down
2 changes: 1 addition & 1 deletion t/server/controller/source.t
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ test_psgi app, sub {
t/00-nop.t
META.json
META.yml
)
)
);
if ( $k =~ /callback=foo/ ) {
ok(
Expand Down
2 changes: 1 addition & 1 deletion t/server/sanitize_query.t
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ test_psgi app, sub {

test_all_methods(
{
query => { match_all => {} },
query => { match_all => {} },
script_fields =>
{ pauselen2 => { metacpan_script => 'test_script_field' }, },
filter => { term => { pauseid => 'RWSTAUNER' } },
Expand Down
2 changes: 1 addition & 1 deletion t/types.t
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ ok(
'http://search.cpan.org/dist/Dist-Zilla-Plugin-GitHub/',
repository => {
type => 'git',
url =>
url =>
'git://github.com/AlexBio/Dist-Zilla-Plugin-GitHub.git',
web => 'https://github.com/AlexBio/Dist-Zilla-Plugin-GitHub'
}
Expand Down