()
| 466 | |
| 467 | #[test] |
| 468 | fn test_root_file() { |
| 469 | let local = Local::new("Cargo.toml", 1); |
| 470 | assert_eq!(local.file_name(), Some("Cargo.toml")); |
| 471 | // Parent of a root-level file |
| 472 | assert_eq!(local.parent(), Some("")); |
| 473 | } |
| 474 | |
| 475 | #[test] |
| 476 | fn test_deep_path() { |
nothing calls this directly
no outgoing calls
no test coverage detected