summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/ext/Pod-Html/t/pod2html-lib.pl
diff options
context:
space:
mode:
authorafresh1 <afresh1@openbsd.org>2017-02-05 00:31:51 +0000
committerafresh1 <afresh1@openbsd.org>2017-02-05 00:31:51 +0000
commitb8851fcc53cbe24fd20b090f26dd149e353f6174 (patch)
tree4b7c1695865f00ab7a0da30b5632d514848ea3a2 /gnu/usr.bin/perl/ext/Pod-Html/t/pod2html-lib.pl
parentAdd option PCIVERBOSE. (diff)
downloadwireguard-openbsd-b8851fcc53cbe24fd20b090f26dd149e353f6174.tar.xz
wireguard-openbsd-b8851fcc53cbe24fd20b090f26dd149e353f6174.zip
Fix merge issues, remove excess files - match perl-5.24.1 dist
Diffstat (limited to 'gnu/usr.bin/perl/ext/Pod-Html/t/pod2html-lib.pl')
-rw-r--r--gnu/usr.bin/perl/ext/Pod-Html/t/pod2html-lib.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/ext/Pod-Html/t/pod2html-lib.pl b/gnu/usr.bin/perl/ext/Pod-Html/t/pod2html-lib.pl
index 42cf1c97c4f..27e3e94b967 100644
--- a/gnu/usr.bin/perl/ext/Pod-Html/t/pod2html-lib.pl
+++ b/gnu/usr.bin/perl/ext/Pod-Html/t/pod2html-lib.pl
@@ -64,6 +64,10 @@ sub convert_n_test {
if (ord("A") == 193) { # EBCDIC.
$expect =~ s/item_mat_3c_21_3e/item_mat_4c_5a_6e/;
}
+ if (Pod::Simple->VERSION > 3.28) {
+ $expect =~ s/\n\n(some html)/$1/m;
+ $expect =~ s{(TESTING FOR AND BEGIN</h1>)\n\n}{$1}m;
+ }
# result
open my $in, $outfile or die "cannot open $outfile: $!";