summaryrefslogtreecommitdiff
path: root/ext/Pod-Html/t/htmldir5.t
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Pod-Html/t/htmldir5.t')
-rw-r--r--ext/Pod-Html/t/htmldir5.t7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/Pod-Html/t/htmldir5.t b/ext/Pod-Html/t/htmldir5.t
index 63d6b7a4bc..eb997c6702 100644
--- a/ext/Pod-Html/t/htmldir5.t
+++ b/ext/Pod-Html/t/htmldir5.t
@@ -6,12 +6,13 @@ BEGIN {
use strict;
use Test::More tests => 1;
+use File::Spec::Functions;
use Cwd;
+my $cwd = catdir cwd(); # catdir converts path separators to that of the OS
+ # running the test
-my $cwd = Cwd::cwd();
-
-convert_n_test("htmldir5", "test --htmldir and --htmlroot 5a",
+convert_n_test("htmldir5", "test --htmldir and --htmlroot 5",
"--podpath=t:test.lib",
"--podroot=$cwd",
"--htmldir=$cwd",