whitespace cleanup
Graham Knop [Sat, 29 Aug 2020 16:07:00 +0000 (18:07 +0200)]
Changes
lib/Catalyst/Devel.pm
lib/Catalyst/Helper.pm
t/back_compat.t
t/render_file_contents.t
t/render_share_dir_file.t

diff --git a/Changes b/Changes
index 1e05a02..810f565 100644 (file)
--- a/Changes
+++ b/Changes
@@ -44,14 +44,14 @@ This file documents the revision history for Perl extension Catalyst-Devel.
         - Fix tests generated for controllers generated with --mechanize
           to work with newer versions of Test::WWW::Mechanize::Catalyst
         - bump Module::Install dep to 1.02
-        - Removed stderr hiding from 'make catalyst_par' to display errors 
+        - Removed stderr hiding from 'make catalyst_par' to display errors
           from PAR::Packer
 
 1.35 2011-09-05 13:05:00
         - Stop requiring Starman and MooseX::Daemonize on Win32 as they're
           optional components in Catalyst::Runtime and won't install
           on Windows.
-        - Fix test to work on Windows. 
+        - Fix test to work on Windows.
 
 1.34 2011-08-16 09:02:00
         - Bump required version of Catalyst to 5.9
index 5f2de4a..07576a3 100644 (file)
@@ -21,7 +21,7 @@ Catalyst::Devel - Catalyst Development Tools
 The C<Catalyst-Devel> distribution includes a variety of modules useful
 for the development of Catalyst applications, but not required to run
 them. This is intended to make it easier to deploy Catalyst apps. The
-runtime parts of Catalyst are now known as C<Catalyst::Runtime>. 
+runtime parts of Catalyst are now known as C<Catalyst::Runtime>.
 
 C<Catalyst-Devel> includes the L<Catalyst::Helper> system, which
 autogenerates scripts and tests; L<Module::Install::Catalyst>, a
index d55319a..9785aec 100644 (file)
@@ -256,7 +256,7 @@ sub mk_file {
             $file .= '.new';
         }
     }
-    
+
     if ( my $f = IO::File->new("> $file") ) {
         binmode $f;
         print $f $content;
index f1cd584..c70fdda 100644 (file)
@@ -13,7 +13,7 @@ my $example1 = $helper->get_file('MyTestHelper', 'example1');
 chomp $example1;
 
 my $example2 = $helper->get_file('MyTestHelper', 'example2');
-chomp $example2; 
+chomp $example2;
 
 
 is $example1, 'foobar[% test_var %]';
@@ -31,7 +31,7 @@ open $fh, $fn or die $@;
 #seek $fh, 0, 0; # Rewind
 my $contents;
 {
-    local $/; 
+    local $/;
     $contents = <$fh>;
 }
 is $contents, "foobartest_val\n";
index 6f041ff..9cd69bd 100644 (file)
@@ -15,7 +15,7 @@ close $fh;
 ok( $helper->render_file_contents('example1',  $fn,
         { test_var => 'test_val' }, 0677
     ),
-    "file contents rendered" ); 
+    "file contents rendered" );
 ok -r $fn;
 ok -s $fn;
 my $perms = ( stat $fn )[2] & 07777;
index 94e9371..864ea8c 100644 (file)
@@ -11,7 +11,7 @@ use File::Temp qw/tempfile/;
 my ($fh, $fn) = tempfile;
 close $fh;
 
-ok( $helper->render_sharedir_file('script/myapp_cgi.pl.tt', $fn, { appprefix  => 'fnargh' }), "sharedir file rendered" ); 
+ok( $helper->render_sharedir_file('script/myapp_cgi.pl.tt', $fn, { appprefix  => 'fnargh' }), "sharedir file rendered" );
 ok -r $fn;
 ok -s $fn;
 unlink $fn;