From 537d122be0852c2409047fa28910bbde3afd364b Mon Sep 17 00:00:00 2001 From: Olaf Alders Date: Sun, 10 Sep 2023 17:12:50 -0400 Subject: [PATCH] perltidy --- cpanfile | 2 +- t/controller/activity.t | 2 +- t/controller/author.t | 2 +- t/controller/feed.t | 2 +- t/controller/search.t | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cpanfile b/cpanfile index f4743edb610..794d8a5e650 100644 --- a/cpanfile +++ b/cpanfile @@ -95,7 +95,7 @@ requires 'App::Prove'; requires 'Code::TidyAll', '>= 0.74'; requires 'Code::TidyAll::Plugin::Test::Vars', '0.04'; requires 'Perl::Critic', '1.136'; -requires 'Perl::Tidy' => '20220613'; +requires 'Perl::Tidy' => '20230909'; requires 'Test::Code::TidyAll'; requires 'Test::More', '0.96'; requires 'Test::Needs'; diff --git a/t/controller/activity.t b/t/controller/activity.t index 8d68738e15b..a7600334158 100644 --- a/t/controller/activity.t +++ b/t/controller/activity.t @@ -9,7 +9,7 @@ my @tests test_psgi app, sub { my $cb = shift; foreach my $test (@tests) { - ok( my $res = $cb->( GET $test), $test ); + ok( my $res = $cb->( GET $test ), $test ); is( $res->code, 200, 'code 200' ); is( $res->header('content-type'), diff --git a/t/controller/author.t b/t/controller/author.t index fb82678ecbe..a6bf5bf99c9 100644 --- a/t/controller/author.t +++ b/t/controller/author.t @@ -29,7 +29,7 @@ test_psgi app, sub { 'found a favorite' ); - ok( $res = $cb->( GET $release), "GET $release" ); + ok( $res = $cb->( GET $release ), "GET $release" ); is( $res->code, 200, 'code 200' ); ok( $res = $cb->( GET '/author/DOESNTEXIST/releases' ), diff --git a/t/controller/feed.t b/t/controller/feed.t index 76ce9a396b7..9abb24f2e9e 100644 --- a/t/controller/feed.t +++ b/t/controller/feed.t @@ -18,7 +18,7 @@ use Try::Tiny qw( catch try ); sub get_feed_ok { my ( $cb, $test, $extra ) = @_; subtest $test => sub { - ok( my $res = $cb->( GET $test), $test ); + ok( my $res = $cb->( GET $test ), $test ); is( $res->code, 200, 'code 200' ); is( $res->header('content-type'), diff --git a/t/controller/search.t b/t/controller/search.t index 27e6cbd2225..e44fec4fac0 100644 --- a/t/controller/search.t +++ b/t/controller/search.t @@ -57,7 +57,7 @@ test_psgi app, sub { ); } - ok( $res = $cb->( GET $release), "GET $release" ); + ok( $res = $cb->( GET $release ), "GET $release" ); is( $res->code, 200, 'code 200' ); ok( $res = $cb->( GET '/search?q=RJBS&lucky=1' ),