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

tests: fixup use of empty DirFS #69

Merged
merged 2 commits into from
Dec 12, 2022
Merged

tests: fixup use of empty DirFS #69

merged 2 commits into from
Dec 12, 2022

Conversation

shoenig
Copy link
Owner

@shoenig shoenig commented Dec 12, 2022

DirFS no longer behaves as expected when passing
in an empty string; we must instead pass in '/'

@shoenig
Copy link
Owner Author

shoenig commented Dec 12, 2022

Pretty sure this is still broken on Windows golang/go#44279 with go1.19.4+

DirFS no longer behaves as expected when passing
in an empty string; we must instead pass in '/'
@shoenig shoenig force-pushed the empty-dirfs branch 3 times, most recently from 835f667 to 9323b5e Compare December 12, 2022 18:41
@shoenig
Copy link
Owner Author

shoenig commented Dec 12, 2022

$Env:HOMEDRIVE on Windows seems good enough

@shoenig shoenig merged commit 6c073f7 into main Dec 12, 2022
@shoenig shoenig deleted the empty-dirfs branch December 15, 2023 15:16
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.

1 participant