Skip to content

[stdlib] [NFC] Remove expanduser tests with empty HOME #4390

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

Closed

Conversation

martinvuyk
Copy link
Contributor

This is a flaky test that I don't know how it didn't get caught before. In Ubuntu 22.04 this works fine (returns /etc/passwd), in 24.04 it doesn't (returns /). MacOS defaults to User/runner instead of the empty string. We shouldn't be concerned with and chase after default OS behavior in this test.

@martinvuyk martinvuyk requested a review from a team as a code owner April 21, 2025 23:38
@martinvuyk martinvuyk changed the title [stdlib] Remove expanduser tests with empty HOME [stdlib] [NFC] Remove expanduser tests with empty HOME Apr 21, 2025
@JoeLoser
Copy link
Collaborator

!sync

@modularbot modularbot added the imported-internally Signals that a given pull request has been imported internally. label Apr 22, 2025
@modularbot
Copy link
Collaborator

✅🟣 This contribution has been merged 🟣✅

Your pull request has been merged to the internal upstream Mojo sources. It will be reflected here in the Mojo repository on the main branch during the next Mojo nightly release, typically within the next 24-48 hours.

We use Copybara to merge external contributions, click here to learn more.

@modularbot modularbot added merged-internally Indicates that this pull request has been merged internally merged-externally Merged externally in public mojo repo labels Apr 23, 2025
@modularbot
Copy link
Collaborator

Landed in 50ff97d! Thank you for your contribution 🎉

@martinvuyk martinvuyk deleted the remove-expanduser-empty-home-tests branch April 24, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imported-internally Signals that a given pull request has been imported internally. merged-externally Merged externally in public mojo repo merged-internally Indicates that this pull request has been merged internally
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants