projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
bcbb265
)
Amend bcbb2654: Use a tempdir() template so it's clear the Moose tests own the files
Ævar Arnfjörð Bjarmason [Tue, 6 Apr 2010 13:14:39 +0000 (13:14 +0000)]
t/060_compat/001_module_refresh_compat.t
patch
|
blob
|
blame
|
history
diff --git
a/t/060_compat/001_module_refresh_compat.t
b/t/060_compat/001_module_refresh_compat.t
index
dae9fa6
..
6e88af9
100644
(file)
--- a/
t/060_compat/001_module_refresh_compat.t
+++ b/
t/060_compat/001_module_refresh_compat.t
@@
-41,7
+41,7
@@
and actually change the module itself.
=cut
-my $dir = tempdir CLEANUP => 1;
+my $dir = tempdir( "MooseTest-XXXXX", CLEANUP => 1, TMPDIR => 1 );
push @INC, $dir;
my $test_module_file = File::Spec->catdir($dir, 'TestBaz.pm');