Subject: | Request to clean up temp dirs used when testing. |
Hello and thanks for Mojolicious,
I noticed a few temp dirs not being cleaned up when testing:
t/mojo/loader.t
< my $dir = File::Temp::tempdir();
---
Show quoted text
> my $dir = File::Temp::tempdir( CLEANUP=>1 );
t/mojo/message.t
< File::Spec->catfile(File::Temp::tempdir(), ("MOJO_TMP." .
time . ".txt"));
---
Show quoted text> File::Spec->catfile(File::Temp::tempdir( CLEANUP => 1 ),
("MOJO_TMP." . time . ".txt"));
t/mojo/template.t
< my $dir = File::Temp::tempdir();
---
Show quoted text> my $dir = File::Temp::tempdir( CLEANUP => 1 );
Cheers,
Peter (Stig) Edwards