Lightweight coding agent that runs in your terminal
Rust
Update tests for current tool call and app-server event types (#35942)
jifa4d2f3102249
diff --git a/codex-rs/core/src/tools/router_tests.rs b/codex-rs/core/src/tools/router_tests.rsindex 92625f0ea1..0e4dc01cf7 100644--- a/codex-rs/core/src/tools/router_tests.rs+++ b/codex-rs/core/src/tools/router_tests.rs@@ -165,6 +165,7 @@ async fn parallel_support_does_not_match_namespaced_local_tool_names() -> anyhowpayload: ToolPayload::Function {arguments: "{}".to_string(),},+ encrypted_function_args: None,}),None);diff --git a/codex-rs/tui/src/app/tests.rs b/codex-rs/tui/src/app/tests.rsindex 042b08e0c4..fb20b6a4fb 100644--- a/codex-rs/tui/src/app/tests.rs+++ b/codex-rs/tui/src/app/tests.rs@@ -4411,12 +4411,12 @@ async fn background_side_cleanup_removes_local_state_and_ignores_late_events() -app.handle_app_server_event(&app_server,- codex_app_server_client::AppServerEvent::ServerRequest(exec_approval_request(+ codex_app_server_client::AppServerEvent::ServerRequest(Box::new(exec_approval_request(side_thread_id,"turn-1","item-1",Some("approval-1"),- )),+ ))),).await;let resolution = app