()
| 1207 | |
| 1208 | #[test] |
| 1209 | fn test_result_record_error() { |
| 1210 | let mut result = DetectResult::new(); |
| 1211 | result.record_error("test.rs".to_string(), "error".to_string()); |
| 1212 | |
| 1213 | assert!(result.has_errors()); |
| 1214 | assert_eq!(result.errors.len(), 1); |
| 1215 | } |
| 1216 | |
| 1217 | #[test] |
| 1218 | fn test_result_iterators() { |
nothing calls this directly
no test coverage detected