summaryrefslogtreecommitdiff
path: root/ext/Pod-Html
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2012-02-14 23:06:24 +0100
committerNicholas Clark <nick@ccl4.org>2012-02-15 11:49:02 +0100
commit27f98b9ec2d029bfc9cd86e96cbd6a2a061a0a3e (patch)
tree0e64a31ceb487c2c621dd876cfca77564ce15363 /ext/Pod-Html
parentb555e4be492521d474da86140021aa9aa24ed51b (diff)
downloadperl-27f98b9ec2d029bfc9cd86e96cbd6a2a061a0a3e.tar.gz
Pod::Html's feature2.t needs to match path separators portably.
On Win32 the path separator in the output it is testing is backslash. This implies that it will be ] on VMS. Tweak the regular expression to match these in addition to / for *nix.
Diffstat (limited to 'ext/Pod-Html')
-rw-r--r--ext/Pod-Html/t/feature2.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Pod-Html/t/feature2.t b/ext/Pod-Html/t/feature2.t
index 105d420cb5..920f310a04 100644
--- a/ext/Pod-Html/t/feature2.t
+++ b/ext/Pod-Html/t/feature2.t
@@ -27,7 +27,7 @@ convert_n_test("feature2", "misc pod-html features 2",
like($warn,
qr(
\Acaching\ directories\ for\ later\ use\n
- Converting\ input\ file\ \S+/feature2\.pod\n\z
+ Converting\ input\ file\ \S+[/\\\]]feature2\.pod\n\z
)x,
"misc pod-html --verbose warnings");