rustfmt
rustfmt copied to clipboard
Add test to validate the config loading rules
Closes #5471
Test that configs are loaded in the following order:
- Load configs from the
--config-pathoption - Travers the directory hierarchy looking for a config file
- Check the user's
HOMEdirectory for a config file - Check the user's config directory for a config file
Probably best to review this PR 1 commit at a time.