projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0db6997
)
diag.t: Support multiline perldiag entries better
author
Father Chrysostomos
<sprout@cpan.org>
Sun, 17 Nov 2013 14:32:02 +0000
(06:32 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Sun, 17 Nov 2013 21:08:59 +0000
(13:08 -0800)
I.e., don’t require a space before the newline.
t/porting/diag.t
patch
|
blob
|
history
diff --git
a/t/porting/diag.t
b/t/porting/diag.t
index 146d6265865a1bbb6ebe7a883e76e260707285af..bee1e4c44a9c24c998204e77b3df7822d99a0ea3 100644
(file)
--- 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