()
| 452 | |
| 453 | #[test] |
| 454 | fn test_file_diff_modified() { |
| 455 | let diff = FileDiff::modified("changed.rs"); |
| 456 | assert_eq!(diff.old_path, "changed.rs"); |
| 457 | assert_eq!(diff.new_path, "changed.rs"); |
| 458 | assert_eq!(diff.status, FileChangeStatus::Modified); |
| 459 | assert_eq!(diff.stats.status, 'M'); |
| 460 | } |
| 461 | |
| 462 | #[test] |
| 463 | fn test_file_diff_add_hunk() { |
nothing calls this directly
no test coverage detected