Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit ccf62bb

Browse files
committed
Don't fail if cleanup fails
1 parent ef36dc1 commit ccf62bb

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/test/java/fi/helsinki/cs/tmc/cli/io/ExternalUtilTest.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,12 @@ public void setUp() {
5353
}
5454

5555
@After
56-
public void tearDown() throws IOException {
57-
FileUtils.deleteDirectory(tempDir.toFile());
56+
public void tearDown() {
57+
try {
58+
FileUtils.deleteDirectory(tempDir.toFile());
59+
} catch (IOException e) {
60+
// NOP
61+
}
5862
}
5963

6064
@Test

0 commit comments

Comments
 (0)