refactor(rust): adopt stable APIs through Rust 1.99 (#8193)

This commit is contained in:
Tunglies
2026-10-07 16:20:33 +00:00
committed by GitHub
parent a4531cf926
commit 89076f01c3
7 changed files with 11 additions and 23 deletions
+4 -4
View File
@@ -412,14 +412,14 @@ mod tests {
let system_exe = executable(&system.join("Tools/Clash Verge.app"))?;
let user_exe = executable(&user.join("Network/Clash Verge.app"))?;
assert!(matches!(
std::assert_matches!(
evaluate_install_location_with_roots(&system_exe, &home, &system),
LaunchLocation::Allowed { .. }
));
assert!(matches!(
);
std::assert_matches!(
evaluate_install_location_with_roots(&user_exe, &home, &system),
LaunchLocation::Allowed { .. }
));
);
std::fs::remove_dir_all(root)?;
Ok(())
}