()
| 142 | |
| 143 | #[test] |
| 144 | fn test_file_diff_stats_modified() { |
| 145 | let stats = FileDiffStats::modified("mod.rs", 8, 3); |
| 146 | assert_eq!(stats.path, "mod.rs"); |
| 147 | assert_eq!(stats.insertions, 8); |
| 148 | assert_eq!(stats.deletions, 3); |
| 149 | assert_eq!(stats.status, 'M'); |
| 150 | assert!(stats.is_modified()); |
| 151 | } |
| 152 | |
| 153 | #[test] |
| 154 | fn test_file_diff_stats_total_changes() { |
nothing calls this directly
no test coverage detected