Skip to content

Commit

Permalink
delete temporary files
Browse files Browse the repository at this point in the history
  • Loading branch information
lincmba committed Nov 2, 2023
1 parent 4a44f67 commit 9cfc63d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ public void testRunExtract() throws IOException {

// Compare the contents of the two files
assertEquals(existingProperties, newProperties, "File contents are similar.");
// Clean up temporary resources
tempRawQuestionnaire.toFile().delete();
tempDefaultPropertiesPath.toFile().delete();
}

@Test
Expand Down Expand Up @@ -93,5 +96,6 @@ public void testRunMerge() throws IOException {

// Compare the contents of the two nodes
assertEquals(rawQuestionnaire, mergedQuestionnaire, "File merged as expected");
tempRawQuestionnaire.toFile().delete();
}
}

0 comments on commit 9cfc63d

Please sign in to comment.