diff --git a/codex-rs/rmcp-client/src/user_verification_cancellation_tests.rs b/codex-rs/rmcp-client/src/user_verification_cancellation_tests.rs index 43561368cd..30a21bc930 100644 --- a/codex-rs/rmcp-client/src/user_verification_cancellation_tests.rs +++ b/codex-rs/rmcp-client/src/user_verification_cancellation_tests.rs @@ -99,7 +99,7 @@ async fn dropping_tool_call_cancels_remote_request() -> anyhow::Result<()> { let mut call = Box::pin(client.call_tool( "wait".into(), /*arguments*/ None, - /*meta*/ None, + |_| Ok(None), /*timeout*/ None, )); // Drop before yielding to the transport's independently scheduled send tasks. @@ -125,7 +125,7 @@ async fn dropping_tool_call_cancels_remote_request() -> anyhow::Result<()> { let mut next = Box::pin(client.call_tool( "next".into(), /*arguments*/ None, - /*meta*/ None, + |_| Ok(None), /*timeout*/ None, )); let request = tokio::select! {