@@ -108,7 +108,7 @@ sub test_filemode : Tests {
108108 }
109109
110110 my $root_dir = $self -> create_dir( { ' foo.txt' => ' abc' } );
111- my $file = $root_dir -> child(' foo.txt' );
111+ my $file = $root_dir -> child(' foo.txt' );
112112 $file -> chmod (' 0755' );
113113 my $ct = Code::TidyAll-> new(
114114 plugins => { test_plugin(' UpperText' ) => { select => ' **/foo*' } },
@@ -147,7 +147,7 @@ sub test_plugin_order_and_atomicity : Tests {
147147 # note without the weight here this would run first, and the
148148 # letters in the photetic words themselves would be reversed
149149 test_plugin(' AlwaysPhonetic' ) => { select => ' **/*.txt' , weight => 51 }
150- )
150+ )
151151 } ( 1 .. 3 );
152152
153153 $self -> tidy(
@@ -176,7 +176,7 @@ sub test_quiet_and_verbose : Tests {
176176 foreach my $state ( ' normal' , ' quiet' , ' verbose' ) {
177177 foreach my $error ( 0, 1 ) {
178178 my $root_dir = $self -> create_dir( { ' foo.txt' => ( $error ? ' 123' : ' abc' ) } );
179- my $output = capture_stdout {
179+ my $output = capture_stdout {
180180 my $ct = Code::TidyAll-> new(
181181 plugins => {%UpperText },
182182 root_dir => $root_dir ,
@@ -235,7 +235,7 @@ sub test_caching_and_backups : Tests {
235235 my $desc
236236 = " (no_cache=$no_cache , no_backups=$no_backups , model=$cache_model_class , cache_class=$chi )" ;
237237 my $root_dir = $self -> create_dir( { ' foo.txt' => ' abc' } );
238- my $ct = Code::TidyAll-> new(
238+ my $ct = Code::TidyAll-> new(
239239 plugins => {%UpperText },
240240 root_dir => $root_dir ,
241241 cache_model_class => $cache_model_class ,
@@ -245,7 +245,7 @@ sub test_caching_and_backups : Tests {
245245 );
246246 my $output ;
247247 my $file = path( $root_dir , ' foo.txt' );
248- my $go = sub {
248+ my $go = sub {
249249 $output = capture_stdout { $ct -> process_paths($file ) };
250250 };
251251
@@ -314,7 +314,7 @@ sub test_selects_and_ignores : Tests {
314314
315315 my @files = ( ' a/foo.pl' , ' b/foo.pl' , ' a/foo.pm' , ' a/bar.pm' , ' b/bar.pm' );
316316 my $root_dir = $self -> create_dir( { map { $_ => ' hi' } @files } );
317- my $ct = Code::TidyAll-> new(
317+ my $ct = Code::TidyAll-> new(
318318 root_dir => $root_dir ,
319319 plugins => {
320320 test_plugin(' UpperText' ) => {
@@ -453,7 +453,7 @@ sub test_errors : Tests {
453453 }
454454 qr / unknown options/ ;
455455
456- my $ct = Code::TidyAll-> new( plugins => {%UpperText }, root_dir => $root_dir );
456+ my $ct = Code::TidyAll-> new( plugins => {%UpperText }, root_dir => $root_dir );
457457 my $output = capture_stdout { $ct -> process_paths(" $root_dir /baz/blargh.txt" ) };
458458 like( $output , qr / baz\/ blargh.txt: not a file or directory/ , ' file not found' );
459459
0 commit comments