Skip to content

Fix LicensesTaskTest from leaving stray files in source tree - #322

Merged
VinayGuthal merged 1 commit into
google:mainfrom
liutikas:projectdir
Aug 15, 2025
Merged

Fix LicensesTaskTest from leaving stray files in source tree#322
VinayGuthal merged 1 commit into
google:mainfrom
liutikas:projectdir

Conversation

@liutikas

Copy link
Copy Markdown
Collaborator

Before this change LicensesTaskTest was using src/test/resources as Gradle project directory. This means it was leaving stray src/test/resources/userHome/ directory around every time this test was run. Instead, move to a new temporary directory.

Test: ./gradlew test

Before this change LicensesTaskTest was using src/test/resources
as Gradle project directory. This means it was leaving stray
src/test/resources/userHome/ directory around every time this test was
run. Instead, move to a new temporary directory.

Test: ./gradlew test
@VinayGuthal
VinayGuthal self-requested a review August 13, 2025 04:17
@VinayGuthal
VinayGuthal merged commit 4012824 into google:main Aug 15, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants