Skip to content

Stop creating directory outside of testdata#223

Merged
dnephin merged 1 commit intogotestyourself:mainfrom
seriousben:fix-golden-dir-creation
Jan 4, 2022
Merged

Stop creating directory outside of testdata#223
dnephin merged 1 commit intogotestyourself:mainfrom
seriousben:fix-golden-dir-creation

Conversation

@seriousben
Copy link
Contributor

@seriousben seriousben commented Jan 3, 2022

This pull request makes it so that updating golden files within sub folders of testdata don't create them outside of testdata.

@CLAassistant
Copy link

CLAassistant commented Jan 3, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@dnephin dnephin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the bug fix! I believe I introduced this bug in #209, and I guess tests do not notice the problem because they always use absolute paths.

@dnephin dnephin merged commit 7fe928e into gotestyourself:main Jan 4, 2022
@seriousben seriousben deleted the fix-golden-dir-creation branch January 4, 2022 00:54
@seriousben
Copy link
Contributor Author

Thanks for merging, do you know when a new release will be created? There is a lot of good unreleased changes.

@dnephin
Copy link
Member

dnephin commented Jan 15, 2022

Sorry for the delay, this is done now: https://github.com/gotestyourself/gotest.tools/releases/tag/v3.1.0

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.

3 participants