mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
#20174 removed the option and unwrap
This commit is contained in:
parent
476a0764f5
commit
415c43e226
4 changed files with 11 additions and 12 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue