From: Alastair McGowan-Douglas Date: Wed, 29 Oct 2014 15:17:11 +0000 (+0000) Subject: Functionally void: Replace CRLF with LF X-Git-Tag: v0.33~1^2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Static-Simple.git;a=commitdiff_plain;h=19eeb236f9bc60bd7a50c774d80fd019b1ec9a86 Functionally void: Replace CRLF with LF --- diff --git a/t/lib/IncTestApp.pm b/t/lib/IncTestApp.pm index a11b438..200e806 100644 --- a/t/lib/IncTestApp.pm +++ b/t/lib/IncTestApp.pm @@ -1,46 +1,46 @@ -package IncTestApp; -# FIXME: I have to do this because TestApp runs setup at compile time -# Perhaps it would be better to let the tests run setup? - -use strict; -use Catalyst; -use FindBin; -use TestLog; - -our $VERSION = '0.01'; - -IncTestApp->config( - name => 'TestApp', - debug => 1, - static => { - include_path => [ - IncTestApp->config->{root}, - ] - }, - 'Plugin::Static::Simple' => { - include_path => [ - IncTestApp->config->{root} . '/overlay', - ] - }, -); - -IncTestApp->log( TestLog->new ); -my @plugins = qw/Static::Simple/; - -# load the SubRequest plugin if available -eval { - require Catalyst::Plugin::SubRequest; - die unless Catalyst::Plugin::SubRequest->VERSION ge '0.08'; -}; -push @plugins, 'SubRequest' unless ($@); - -IncTestApp->setup( @plugins ); - -sub incpath_generator { - my $c = shift; - - return [ $c->config->{root} . '/incpath' ]; -} - - -1; +package IncTestApp; +# FIXME: I have to do this because TestApp runs setup at compile time +# Perhaps it would be better to let the tests run setup? + +use strict; +use Catalyst; +use FindBin; +use TestLog; + +our $VERSION = '0.01'; + +IncTestApp->config( + name => 'TestApp', + debug => 1, + static => { + include_path => [ + IncTestApp->config->{root}, + ] + }, + 'Plugin::Static::Simple' => { + include_path => [ + IncTestApp->config->{root} . '/overlay', + ] + }, +); + +IncTestApp->log( TestLog->new ); +my @plugins = qw/Static::Simple/; + +# load the SubRequest plugin if available +eval { + require Catalyst::Plugin::SubRequest; + die unless Catalyst::Plugin::SubRequest->VERSION ge '0.08'; +}; +push @plugins, 'SubRequest' unless ($@); + +IncTestApp->setup( @plugins ); + +sub incpath_generator { + my $c = shift; + + return [ $c->config->{root} . '/incpath' ]; +} + + +1;