()
| 233 | |
| 234 | #[test] |
| 235 | fn test_diff_stats_into_iter() { |
| 236 | let mut stats = DiffStats::new(); |
| 237 | stats.add_file(FileDiffStats::new("a.rs", 1, 0, 'M')); |
| 238 | |
| 239 | for file_stats in stats { |
| 240 | assert_eq!(file_stats.path, "a.rs"); |
| 241 | } |
| 242 | } |
| 243 | |
| 244 | // DiffOutputConfig Tests |
| 245 |