X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flive%2Fcomponent%2Fcontroller%2Faction%2Fdetach.t;h=adc5c8e4ca968b3c84e5b2416875fe64247ee993;hp=f833346749e3016edc5b904f7d2a3c1dd8aea14d;hb=587b0f5882d4f5e128ae082758da37b065a3efde;hpb=232fd39402371d9550ad97d92a4ceafd283874b0 diff --git a/t/live/component/controller/action/detach.t b/t/live/component/controller/action/detach.t index f833346..adc5c8e 100644 --- a/t/live/component/controller/action/detach.t +++ b/t/live/component/controller/action/detach.t @@ -15,7 +15,7 @@ use Catalyst::Test 'TestApp'; if ( $ENV{CAT_BENCHMARK} ) { require Benchmark; - Benchmark::timethis( -$iters, \&run_tests ); + Benchmark::timethis( $iters, \&run_tests ); } else { for ( 1 .. $iters ) { @@ -30,6 +30,7 @@ sub run_tests { TestApp::Controller::Action::Detach->one TestApp::Controller::Action::Detach->two TestApp::View::Dump::Request->process + TestApp->end ]; my $expected = join( ", ", @expected ); @@ -56,6 +57,7 @@ sub run_tests { TestApp::Controller::Action::Detach->path TestApp::Controller::Action::Detach->two TestApp::View::Dump::Request->process + TestApp->end ]; my $expected = join( ", ", @expected );