()
| 1161 | |
| 1162 | #[test] |
| 1163 | fn test_result_add_change_moved() { |
| 1164 | let mut result = DetectResult::new(); |
| 1165 | result.add_change(FileChange::moved( |
| 1166 | "new.rs", |
| 1167 | "old.rs", |
| 1168 | Inode::ROOT, |
| 1169 | Position::ROOT, |
| 1170 | false, |
| 1171 | None, |
| 1172 | )); |
| 1173 | |
| 1174 | assert_eq!(result.moved_count, 1); |
| 1175 | } |
| 1176 | |
| 1177 | #[test] |
| 1178 | fn test_result_add_change_metadata_only() { |
nothing calls this directly
no test coverage detected