diff options
Diffstat (limited to 'perl_checker.src/test/test_it')
-rwxr-xr-x | perl_checker.src/test/test_it | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl_checker.src/test/test_it b/perl_checker.src/test/test_it index 2f7c599..e88607e 100755 --- a/perl_checker.src/test/test_it +++ b/perl_checker.src/test/test_it @@ -62,8 +62,8 @@ foreach my $test (@tests) { pop @l while $l[-1] =~ /^\s*$/; if (@l == 1) { - if ($l[-1] !~ /(;|[\s{]\})\s+$/) { - $l[-1] =~ s/^(.*?)(\s+$)/xxx($1);$2/; + if ($l[-1] !~ /(;|[\s{]\})\s*$/) { + $l[-1] =~ s/^(.*?)(\s*$)/xxx($1);$2/; } else { # no comma for: # - prefix for/foreach/... |