()
| 385 | |
| 386 | #[test] |
| 387 | fn test_normalize_relative_path() { |
| 388 | let cmd = Move::new("old.rs", "new.rs"); |
| 389 | let temp = tempfile::tempdir().unwrap(); |
| 390 | let result = cmd.normalize_path(temp.path(), "src/file.rs").unwrap(); |
| 391 | assert_eq!(result, "src/file.rs"); |
| 392 | } |
| 393 | |
| 394 | #[test] |
| 395 | fn test_normalize_absolute_path_inside_repo() { |
nothing calls this directly
no test coverage detected