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

Fix tests on nightly #33

Merged
merged 1 commit into from
Mar 29, 2022
Merged

Fix tests on nightly #33

merged 1 commit into from
Mar 29, 2022

Conversation

rbtcollins
Copy link
Collaborator

Nightly has richer IO error kinds

Sorry about the extensive reformatting of the yml... editors and we haven't dropped a common config file :/

@XAMPPRocky
Copy link
Owner

XAMPPRocky commented Sep 19, 2021

Sorry about the extensive reformatting of the yml... editors and we haven't dropped a common config file :/

It's fine, as long as it's readable I don't care.

It seems like this is failing the ensure_rm test on stable now though, or will this only be fixed by the nightly feature?

@rbtcollins
Copy link
Collaborator Author

I intended to make it work on both nightly and stable; the issue is just a new IOErrorKind that is only emitted on nightly, but tests need to check for it. I will fix.

@rbtcollins
Copy link
Collaborator Author

Looks like that new kind has leaked into stable. This is an API break IMO. :/

Nightly has richer IO error kinds, and the meaning of ErrorKind::Other
has been changed, so we cannot use that anymore.

Instead use raw OS errors.
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.

2 participants