diff --git a/codex-rs/core/tests/suite/tool_harness.rs b/codex-rs/core/tests/suite/tool_harness.rs index 7fb81e9228..99cbd7f5f1 100644 --- a/codex-rs/core/tests/suite/tool_harness.rs +++ b/codex-rs/core/tests/suite/tool_harness.rs @@ -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,