()
| 233 | |
| 234 | #[test] |
| 235 | fn normalize_path_collapses_separators() { |
| 236 | assert_eq!(normalize_path("/usr//lib"), "/usr/lib"); |
| 237 | assert_eq!(normalize_path("/usr/./lib"), "/usr/lib"); |
| 238 | assert_eq!(normalize_path("/tmp/"), "/tmp"); |
| 239 | } |
| 240 | |
| 241 | #[test] |
| 242 | fn normalize_path_preserves_parent_dir() { |
nothing calls this directly
no outgoing calls
no test coverage detected