about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--t/008_git_clone.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/008_git_clone.t b/t/008_git_clone.t
index c4935ce..6e33018 100644
--- a/t/008_git_clone.t
+++ b/t/008_git_clone.t
@@ -20,6 +20,8 @@ use Dancer::Test;
 use Dancer::Config qw/setting/;
 use File::Spec::Functions;
 use File::Copy::Recursive qw/dircopy/;
+use File::Path qw/rmtree/;
+
 my $hook_data = catfile(qw/t data hook_data.yml/);
 
 my $content = LoadFile($hook_data);
@@ -40,6 +42,8 @@ setting plugins => {
     }
 };
 
+rmtree(catfile(qw/t tmp build testing/));
+
 if (can_run('git')){
 
     my $gitrepo = "t/data/testing";