summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/test/read_t.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl_checker.src/test/read_t.pm')
-rw-r--r--perl_checker.src/test/read_t.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl_checker.src/test/read_t.pm b/perl_checker.src/test/read_t.pm
index d7d9b9c..a07c041 100644
--- a/perl_checker.src/test/read_t.pm
+++ b/perl_checker.src/test/read_t.pm
@@ -15,6 +15,7 @@ sub read_t {
} else {
$column_width ||= length(first(/(.{20}\s+)/));
my ($line, $log) = $column_width > 25 && /(.{$column_width})(.*)/ ? (chomp_($1) . "\n", $2) : ($_, '');
+ $line =~ s/[ \t]*$//;
push @lines, $line;
push @logs, $log;
}