summaryrefslogtreecommitdiff
path: root/dist/ExtUtils-ParseXS/t/512-t-file.t
diff options
context:
space:
mode:
Diffstat (limited to 'dist/ExtUtils-ParseXS/t/512-t-file.t')
-rw-r--r--dist/ExtUtils-ParseXS/t/512-t-file.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/ExtUtils-ParseXS/t/512-t-file.t b/dist/ExtUtils-ParseXS/t/512-t-file.t
index 3bf1addf26..53bb393738 100644
--- a/dist/ExtUtils-ParseXS/t/512-t-file.t
+++ b/dist/ExtUtils-ParseXS/t/512-t-file.t
@@ -31,7 +31,7 @@ $map->add_outputmap(xstype => 'T_IV', code => 'sv_setiv($arg, (IV)$var);');
is($map->as_string(), $cmp_typemap_str, "Simple typemap matches reference file");
my $tmpdir = File::Temp::tempdir(CLEANUP => 1, TMPDIR => 1);
-my $tmpfile = File::Spec->catdir($tmpdir, 'simple.typemap');
+my $tmpfile = File::Spec->catfile($tmpdir, 'simple.typemap');
$map->write(file => $tmpfile);
is($map->as_string(), slurp($tmpfile), "Simple typemap write matches as_string");