mirror of
https://github.com/openai/codex.git
synced 2026-09-17 12:23:33 +00:00
Switch to closure
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user