diff --git a/depclean-maven-plugin/src/test/java/se/kth/depclean/util/MavenInvokerTest.java b/depclean-maven-plugin/src/test/java/se/kth/depclean/util/MavenInvokerTest.java index e22f9d5a..252d4bc4 100644 --- a/depclean-maven-plugin/src/test/java/se/kth/depclean/util/MavenInvokerTest.java +++ b/depclean-maven-plugin/src/test/java/se/kth/depclean/util/MavenInvokerTest.java @@ -32,10 +32,10 @@ void testRunCommandToGetDependencyTree() throws IOException, InterruptedExceptio assertThat(producedTree).hasSameTextualContentAs(expectedTree); } -// @AfterAll -// public static void tearDown() throws IOException { -// if (producedTree.exists()) { -// FileUtils.forceDelete(producedTree); -// } -// } + @AfterAll + public static void tearDown() throws IOException { + if (producedTree.exists()) { + FileUtils.forceDelete(producedTree); + } + } } \ No newline at end of file