[Catalyst-commits] r13676 -
trunk/Catalyst-Plugin-PageCache/t/lib/TestApp/Controller
timbunce at dev.catalyst.perl.org
timbunce at dev.catalyst.perl.org
Mon Nov 1 18:46:12 GMT 2010
Author: timbunce
Date: 2010-11-01 18:46:12 +0000 (Mon, 01 Nov 2010)
New Revision: 13676
Modified:
trunk/Catalyst-Plugin-PageCache/t/lib/TestApp/Controller/Cache.pm
Log:
Remove whitespace on empty lines
Modified: trunk/Catalyst-Plugin-PageCache/t/lib/TestApp/Controller/Cache.pm
===================================================================
--- trunk/Catalyst-Plugin-PageCache/t/lib/TestApp/Controller/Cache.pm 2010-11-01 18:43:50 UTC (rev 13675)
+++ trunk/Catalyst-Plugin-PageCache/t/lib/TestApp/Controller/Cache.pm 2010-11-01 18:46:12 UTC (rev 13676)
@@ -5,29 +5,29 @@
sub auto : Private {
my ( $self, $c ) = @_;
-
+
$c->config->{counter}++;
-
+
return 1;
}
sub count : Local {
my ( $self, $c, $expires ) = @_;
-
+
$c->cache_page( $expires );
-
+
$c->res->output( $c->config->{counter} );
}
sub auto_count : Local {
my ( $self, $c ) = @_;
-
+
$c->res->output( $c->config->{counter} );
}
sub another_auto_count : Local {
my ( $self, $c ) = @_;
-
+
$c->forward( 'auto_count' );
}
@@ -40,17 +40,17 @@
sub clear_cache : Local {
my ( $self, $c ) = @_;
-
+
$c->clear_cached_page( '/cache/count' );
-
+
$c->res->output( 'ok' );
}
sub clear_cache_regex : Local {
my ( $self, $c ) = @_;
-
+
$c->clear_cached_page( '/cache/.*' );
-
+
$c->res->output( 'ok' );
}
@@ -92,11 +92,11 @@
sub busy : Local {
my ( $self, $c ) = @_;
-
+
$c->cache_page( 1 );
-
+
sleep 1;
-
+
$c->res->body('busy');
}
More information about the Catalyst-commits
mailing list