summaryrefslogtreecommitdiff
path: root/t/porting
diff options
context:
space:
mode:
Diffstat (limited to 't/porting')
-rw-r--r--t/porting/diag.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/porting/diag.t b/t/porting/diag.t
index 146d626586..bee1e4c44a 100644
--- a/t/porting/diag.t
+++ b/t/porting/diag.t
@@ -79,7 +79,7 @@ while (<$diagfh>) {
last;
}
- $cur_entry .= $_;
+ $cur_entry =~ s/ ?\z/ $_/;
}
$cur_entry =~ s/\n/ /gs; # Fix multi-line headers if they have \n's