diff --git a/crates/fs-mistrust/src/anon_home.rs b/crates/fs-mistrust/src/anon_home.rs index 6a41c5e7c..3befeefa5 100644 --- a/crates/fs-mistrust/src/anon_home.rs +++ b/crates/fs-mistrust/src/anon_home.rs @@ -118,11 +118,12 @@ mod test { } fn check_with_home(homedir: &Path) { - let arti_conf = homedir.join("here/is/a/path"); + let arti_conf = homedir.join("here").join("is").join("a").join("path"); + #[cfg(target_family = "windows")] assert_eq!( - arti_conf.compact_home().to_string(), - "%UserProfile%\\here/is/a/path" + arti_conf.anonymize_home().to_string(), + "%UserProfile%\\here\\is\\a\\path" ); #[cfg(not(target_family = "windows"))]