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

test: simplify test cleanup #2220

Merged
merged 1 commit into from Mar 5, 2023

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Mar 1, 2023

get rid of some weird IO errors:
https://github.com/gakonst/ethers-rs/actions/runs/4305262960/jobs/7507450686

no need for close: executed in drop impl
no need for drop: dropped when out of scope

@rkrasiuk
Copy link
Contributor

rkrasiuk commented Mar 5, 2023

@mattsse

no need for close: executed in drop impl

these aren't equivalent since we call unwrap. see https://docs.rs/tempfile/latest/tempfile/struct.TempDir.html#method.close

@gakonst gakonst merged commit a4f1a7b into gakonst:master Mar 5, 2023
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

3 participants