summaryrefslogtreecommitdiff
path: root/cpan/Module-Metadata
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/Module-Metadata')
-rw-r--r--cpan/Module-Metadata/t/metadata.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpan/Module-Metadata/t/metadata.t b/cpan/Module-Metadata/t/metadata.t
index 813577387c..5dee700bbc 100644
--- a/cpan/Module-Metadata/t/metadata.t
+++ b/cpan/Module-Metadata/t/metadata.t
@@ -361,7 +361,7 @@ Hello, this is pod.
my $errs;
- my ($vol, $dir, $basename) = File::Spec->splitpath(File::Spec->catdir($tmpdir, "Simple${test_num}", ($test_case->{filename} || 'Simple.pm')));
+ my ($vol, $dir, $basename) = File::Spec->splitpath(File::Spec->catfile($tmpdir, "Simple${test_num}", ($test_case->{filename} || 'Simple.pm')));
my $pm_info = Module::Metadata->new_from_file(generate_file($dir, $basename, $code));
my $got_name = $pm_info->name;