Base: codex-main originale (prima del fork aKode)

This commit is contained in:
Andrea
2026-11-09 10:37:42 +01:00
commit 7874033c81
10166 changed files with 2728937 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
//! Profile-root spelling changes must propagate through settings snapshots.
use super::*;
#[test]
fn executor_profile_root_case_changes_update_snapshot() {
for (first, second) in [
("file:///C:/Work/Project", "file:///C:/work/project"),
("file://server/share/Project", "file://server/share/project"),
] {
let snapshot = |root| {
PermissionProfileSnapshot::active_with_profile_workspace_roots(
PermissionProfile::read_only(),
ActivePermissionProfile::new("executor"),
vec![PathUri::parse(root).unwrap().into()],
)
};
assert_ne!(snapshot(first), snapshot(second));
}
}