aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--t/104-works-outside-the-repo-root.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/104-works-outside-the-repo-root.t b/t/104-works-outside-the-repo-root.t
index d61b5c6..2532344 100644
--- a/t/104-works-outside-the-repo-root.t
+++ b/t/104-works-outside-the-repo-root.t
@@ -19,6 +19,7 @@
use strict;
use File::Copy;
+use File::Path qw(remove_tree);
use Test::More;
use Bin qw($BIN);
@@ -64,5 +65,8 @@ is $todos, 'git-sugdiff.rs:34: // TODO: 100-shows-todo-comments-since-fork-po
system('git checkout master');
system('git branch -D fork-point');
+chdir '..' or die $!;
+remove_tree('subdir');
+
done_testing;