Avoid emitting trailing whitespace in test (oh, the irony)
[catagits/Test-EOL.git] / lib / Test / EOL.pm
index a54e24b..668d499 100644 (file)
@@ -87,7 +87,7 @@ sub _show_whitespace {
 sub _debug_line {
     my ( $options, $line ) = @_;
     $line->[2] =~ s/\n\z//g;
-    return "line $line->[1]: $line->[0] " . (
+    return "line $line->[1]: $line->[0]" . (
       $options->{show_lines} ? qq{: } . _show_whitespace( $line->[2] )  : q{}
     );
 }