Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helpers: Simplify path tests with T.TempDir #10944

Merged
merged 1 commit into from
May 16, 2023
Merged

helpers: Simplify path tests with T.TempDir #10944

merged 1 commit into from
May 16, 2023

Conversation

alexandear
Copy link
Contributor

This PR refactors path tests with T.TempDir() that automatically clears a temp directory. This allows removing the deleteFileInTempDir function.

@alexandear alexandear changed the title helpers: simplify path tests with T.TempDir helpers: Simplify path tests with T.TempDir May 15, 2023
@bep bep merged commit 3d90871 into gohugoio:master May 16, 2023
@alexandear alexandear deleted the refactor-helpers-path-tests branch May 16, 2023 18:27
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants