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