Skip to content

Commit

Permalink
Made tmp dirs unique in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Jul 11, 2024
1 parent 17d0521 commit b810c70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/rife/bld/extension/GeneratedVersionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void testBuildTemplate() {

@Test
void testExecute() throws Exception {
var tmpDir = Files.createTempDirectory("bld-generated-version-").toFile();
var tmpDir = Files.createTempDirectory("bld-generated-version-execute-").toFile();
tmpDir.deleteOnExit();

new GeneratedVersionOperation()
Expand Down Expand Up @@ -173,7 +173,7 @@ void testGeneratedVersion() {

@Test
void testWriteTemplate() throws IOException {
var tmpDir = Files.createTempDirectory("bld-generated-version-").toFile();
var tmpDir = Files.createTempDirectory("bld-generated-version-write-").toFile();
tmpDir.deleteOnExit();

var gv = new GeneratedVersion();
Expand Down

0 comments on commit b810c70

Please sign in to comment.