Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

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 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.

3 participants