@@ -108,7 +108,7 @@ sub test_filemode : Tests {
108
108
}
109
109
110
110
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' );
112
112
$file -> chmod (' 0755' );
113
113
my $ct = Code::TidyAll-> new(
114
114
plugins => { test_plugin(' UpperText' ) => { select => ' **/foo*' } },
@@ -147,7 +147,7 @@ sub test_plugin_order_and_atomicity : Tests {
147
147
# note without the weight here this would run first, and the
148
148
# letters in the photetic words themselves would be reversed
149
149
test_plugin(' AlwaysPhonetic' ) => { select => ' **/*.txt' , weight => 51 }
150
- )
150
+ )
151
151
} ( 1 .. 3 );
152
152
153
153
$self -> tidy(
@@ -176,7 +176,7 @@ sub test_quiet_and_verbose : Tests {
176
176
foreach my $state ( ' normal' , ' quiet' , ' verbose' ) {
177
177
foreach my $error ( 0, 1 ) {
178
178
my $root_dir = $self -> create_dir( { ' foo.txt' => ( $error ? ' 123' : ' abc' ) } );
179
- my $output = capture_stdout {
179
+ my $output = capture_stdout {
180
180
my $ct = Code::TidyAll-> new(
181
181
plugins => {%UpperText },
182
182
root_dir => $root_dir ,
@@ -235,7 +235,7 @@ sub test_caching_and_backups : Tests {
235
235
my $desc
236
236
= " (no_cache=$no_cache , no_backups=$no_backups , model=$cache_model_class , cache_class=$chi )" ;
237
237
my $root_dir = $self -> create_dir( { ' foo.txt' => ' abc' } );
238
- my $ct = Code::TidyAll-> new(
238
+ my $ct = Code::TidyAll-> new(
239
239
plugins => {%UpperText },
240
240
root_dir => $root_dir ,
241
241
cache_model_class => $cache_model_class ,
@@ -245,7 +245,7 @@ sub test_caching_and_backups : Tests {
245
245
);
246
246
my $output ;
247
247
my $file = path( $root_dir , ' foo.txt' );
248
- my $go = sub {
248
+ my $go = sub {
249
249
$output = capture_stdout { $ct -> process_paths($file ) };
250
250
};
251
251
@@ -314,7 +314,7 @@ sub test_selects_and_ignores : Tests {
314
314
315
315
my @files = ( ' a/foo.pl' , ' b/foo.pl' , ' a/foo.pm' , ' a/bar.pm' , ' b/bar.pm' );
316
316
my $root_dir = $self -> create_dir( { map { $_ => ' hi' } @files } );
317
- my $ct = Code::TidyAll-> new(
317
+ my $ct = Code::TidyAll-> new(
318
318
root_dir => $root_dir ,
319
319
plugins => {
320
320
test_plugin(' UpperText' ) => {
@@ -453,7 +453,7 @@ sub test_errors : Tests {
453
453
}
454
454
qr / unknown options/ ;
455
455
456
- my $ct = Code::TidyAll-> new( plugins => {%UpperText }, root_dir => $root_dir );
456
+ my $ct = Code::TidyAll-> new( plugins => {%UpperText }, root_dir => $root_dir );
457
457
my $output = capture_stdout { $ct -> process_paths(" $root_dir /baz/blargh.txt" ) };
458
458
like( $output , qr / baz\/ blargh.txt: not a file or directory/ , ' file not found' );
459
459
0 commit comments