(config: &serde_json::Value, field: &str, expected: &str)
| 1066 | } |
| 1067 | |
| 1068 | fn json_array_contains_str(config: &serde_json::Value, field: &str, expected: &str) -> bool { |
| 1069 | config |
| 1070 | .get(field) |
| 1071 | .and_then(|v| v.as_array()) |
| 1072 | .is_some_and(|arr| arr.iter().any(|v| v.as_str() == Some(expected))) |
| 1073 | } |
| 1074 | |
| 1075 | fn doctor_check_agent_hook( |
| 1076 | dc: &mut DoctorCounters, |
no test coverage detected