()
| 1275 | |
| 1276 | #[test] |
| 1277 | fn test_result_record_error() { |
| 1278 | let mut result = TreeCollectResult::new(); |
| 1279 | |
| 1280 | result.record_error("test.rs".to_string(), "error message".to_string()); |
| 1281 | |
| 1282 | assert!(result.has_errors()); |
| 1283 | assert_eq!(result.errors.len(), 1); |
| 1284 | } |
| 1285 | |
| 1286 | #[test] |
| 1287 | fn test_result_has_errors() { |
nothing calls this directly
no test coverage detected