#20174 removed the option and unwrap

This commit is contained in:
Andrei Cristian Petcu 2018-03-02 20:21:24 +02:00
parent 476a0764f5
commit 415c43e226
4 changed files with 11 additions and 12 deletions

View file

@ -56,7 +56,7 @@ fn test_default_config_dir_create_read_write() {
\"shell.homepage\": \"https://google.com\"\
}";
let mut expected_json = String::new();
let config_path = basedir::default_config_dir().unwrap();
let config_path = basedir::default_config_dir();
if !config_path.exists() {
fs::create_dir_all(&config_path).unwrap();