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

bug: Tests try to modify user home directory #536

Merged
merged 1 commit into from
Jul 6, 2021

Conversation

yellowsquid
Copy link
Contributor

@yellowsquid yellowsquid commented Jul 6, 2021

Description

Fixes a bug where running cargo test would try to create a configuration file for the user.

Issue

Closes: #535

Testing

Walked through the steps to reproduce from #535. All tests now pass.

Tested on these platforms:

  • Windows
  • macOS
  • Linux

Checklist

The following have been met:

  • Areas your change affects have been linted using rustfmt (cargo fmt)
  • The change has been tested and doesn't appear to cause any unintended breakage
  • The pull request passes the provided CI pipeline
  • There are no merge conflicts

Fixes a bug where running `cargo test` would try to create a
configuration file for the user.
@ClementTsang
Copy link
Owner

Thanks for catching this, totally didn't think about this as a problem. Change LGTM.

Also tested on my own system and this does fix the issue.

@all-contributors add @yellowsquid for code

@allcontributors
Copy link
Contributor

@ClementTsang

I've put up a pull request to add @yellowsquid! 🎉

@ClementTsang ClementTsang merged commit f3141cf into ClementTsang:master Jul 6, 2021
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.

Tests try to modify user home directory
2 participants