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

Delete file and buffer to clean up tests #338

Merged
merged 2 commits into from
May 29, 2023

Conversation

matsl
Copy link
Collaborator

@matsl matsl commented May 28, 2023

What

Delete file and buffer to clean up tests.

Why

Unsaved temp buffers is a pain when running tests interactively in your development Emacs. This helper removed both the temp file uses in the test and the buffer that could be associated with it. All delete-file calls has been replace with using the new helper.

Note

Some tests do already clean up both the buffer and the file. Those can be changed to use this helper for both tasks but I have left that optimization for later.

@matsl matsl requested a review from rswgnu May 28, 2023 21:32
@matsl matsl merged commit 5c640fe into master May 29, 2023
4 checks passed
@matsl matsl deleted the delete_file_and_buffer_to_clean_up_tests branch May 29, 2023 06:40
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.

None yet

2 participants