summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2012-02-14 23:06:24 +0100
committerNicholas Clark <nick@ccl4.org>2012-02-14 23:10:57 +0100
commit8bcc739c9a29463a2ab00a5b122972e153fc2e41 (patch)
tree675db035840e48652c156fb994f27770f2cc5d49
parent5d103fec94a383c3e6812c3cb735356fffe54e7c (diff)
downloadperl-smoke-me/Pod-HTML-t-feature2.tar.gz
Pod::Html's feature2.t needs to match path separators portably.smoke-me/Pod-HTML-t-feature2
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.
-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");