MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / normalize_path_preserves_parent_dir

Function normalize_path_preserves_parent_dir

crates/openshell-core/src/paths.rs:242–245  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240
241 #[test]
242 fn normalize_path_preserves_parent_dir() {
243 // normalize_path preserves ".." — validation catches it separately
244 assert_eq!(normalize_path("/usr/../etc"), "/usr/../etc");
245 }
246}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected