clean up t/tmp

master
Joey Hess 2011-01-24 19:58:51 -04:00
parent 6e96b5921a
commit b4d2910dda
1 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,7 @@ package IkiWiki;
use warnings; use warnings;
use strict; use strict;
use Test::More tests => 21; use Test::More tests => 22;
BEGIN { use_ok("IkiWiki"); } BEGIN { use_ok("IkiWiki"); }
BEGIN { use_ok("IkiWiki::Render"); } BEGIN { use_ok("IkiWiki::Render"); }
@ -79,4 +79,8 @@ IkiWiki::gen_autofile("tags/primes.mdwn", \%pages, \@del);
is_deeply(\%pages, {}); is_deeply(\%pages, {});
is_deeply(\@del, ['tags/primes.mdwn']); is_deeply(\@del, ['tags/primes.mdwn']);
# cleanup
ok(! system("rm -rf t/tmp"));
1; 1;