()
| 1110 | |
| 1111 | #[test] |
| 1112 | fn test_diff_stats_clone() { |
| 1113 | let mut stats = DiffStats::new(); |
| 1114 | stats.add_file(FileDiffStats::new("a.rs", 1, 0, 'M')); |
| 1115 | let cloned = stats.clone(); |
| 1116 | assert_eq!(stats.file_count(), cloned.file_count()); |
| 1117 | } |
| 1118 | |
| 1119 | #[test] |
| 1120 | fn test_diff_output_config_clone() { |