Skip to content

Commit

Permalink
Cleanup generated directory from tests
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Beggs <[email protected]>
  • Loading branch information
AlexBeggs committed Feb 8, 2021
1 parent 394d202 commit 37486ce
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,11 @@ println "User home: \$gradle.gradleUserHomeDir"
"--benchmark", "--gradle-user-home", "home with spaces", "help")

then:
logFile.find("User home: " + new File("home with spaces").absolutePath)
def homeWithSpaces = new File("home with spaces")
logFile.find("User home: " + homeWithSpaces.absolutePath)

cleanup:
homeWithSpaces.deleteDir()
}

@Requires({ !OperatingSystem.windows })
Expand Down

0 comments on commit 37486ce

Please sign in to comment.