()
| 1138 | |
| 1139 | #[test] |
| 1140 | fn test_result_add_change_modified() { |
| 1141 | let mut result = DetectResult::new(); |
| 1142 | result.add_change(FileChange::modified( |
| 1143 | "test.rs", |
| 1144 | Inode::ROOT, |
| 1145 | Position::ROOT, |
| 1146 | vec![], |
| 1147 | Encoding::Utf8, |
| 1148 | Encoding::Utf8, |
| 1149 | )); |
| 1150 | |
| 1151 | assert_eq!(result.modified_count, 1); |
| 1152 | } |
| 1153 | |
| 1154 | #[test] |
| 1155 | fn test_result_add_change_deleted() { |
nothing calls this directly
no test coverage detected