[Catalyst-commits] r14249 -
Catalyst-Plugin-Session-Store-FastMmap/trunk/t/lib
karpet at dev.catalyst.perl.org
karpet at dev.catalyst.perl.org
Sun Jan 22 12:13:36 GMT 2012
Author: karpet
Date: 2012-01-22 12:13:36 +0000 (Sun, 22 Jan 2012)
New Revision: 14249
Modified:
Catalyst-Plugin-Session-Store-FastMmap/trunk/t/lib/SessionStoreTest.pm
Log:
perltidy only
Modified: Catalyst-Plugin-Session-Store-FastMmap/trunk/t/lib/SessionStoreTest.pm
===================================================================
--- Catalyst-Plugin-Session-Store-FastMmap/trunk/t/lib/SessionStoreTest.pm 2012-01-22 12:12:33 UTC (rev 14248)
+++ Catalyst-Plugin-Session-Store-FastMmap/trunk/t/lib/SessionStoreTest.pm 2012-01-22 12:13:36 UTC (rev 14249)
@@ -8,26 +8,28 @@
use Catalyst::Plugin::Session::Test::Store (
backend => "FastMmap",
- config => { storage => scalar(File::Temp::tmpnam()) },
+ config => { storage => scalar( File::Temp::tmpnam() ) },
+
# we do not care in this package about deleting temporary file as it is
- # removed automatically by Cache::FastMmap
+ # removed automatically by Cache::FastMmap
extra_tests => 1
);
{
+
package SessionStoreTest;
use Catalyst;
sub store_scalar : Global {
- my ($self, $c) = @_;
+ my ( $self, $c ) = @_;
- $c->res->body($c->session->{'scalar'} = 456);
+ $c->res->body( $c->session->{'scalar'} = 456 );
}
sub get_scalar : Global {
- my ($self, $c) = @_;
+ my ( $self, $c ) = @_;
- $c->res->body($c->session->{'scalar'});
+ $c->res->body( $c->session->{'scalar'} );
}
__PACKAGE__->setup_actions;
More information about the Catalyst-commits
mailing list