Switch to closure

This commit is contained in:
jimmyfraiture
2025-10-01 14:48:05 +01:00
parent 4c335d5e42
commit 1a58229438

View File

@@ -323,7 +323,7 @@ async fn update_plan_tool_rejects_malformed_payload() -> anyhow::Result<()> {
.get("output")
.and_then(|value| value.as_object())
.and_then(|obj| obj.get("success"))
.and_then(|value| value.as_bool())
.and_then(serde_json::Value::as_bool)
{
assert!(
!success_flag,