From caef31349a410871263a8bd09ee00eb864660724 Mon Sep 17 00:00:00 2001 From: Steven Lee Date: Mon, 6 Jul 2026 20:56:51 +0000 Subject: [PATCH] Add tool search test argument comments --- codex-rs/core/src/tools/handlers/tool_search.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codex-rs/core/src/tools/handlers/tool_search.rs b/codex-rs/core/src/tools/handlers/tool_search.rs index 376ee7ea63..656a73c5e1 100644 --- a/codex-rs/core/src/tools/handlers/tool_search.rs +++ b/codex-rs/core/src/tools/handlers/tool_search.rs @@ -399,7 +399,7 @@ mod tests { let handler = ToolSearchHandler::new(search_infos); let debug = handler - .search_with_debug("Calendar events", 8) + .search_with_debug("Calendar events", /*limit*/ 8) .expect("debug search should succeed"); assert_eq!(debug.indexed_tool_count, 10); assert_eq!(debug.matching_tool_count, 10); @@ -439,7 +439,7 @@ mod tests { let handler = ToolSearchHandler::new(search_infos); let debug = handler - .search_with_debug("openai_topics list_topics", 8) + .search_with_debug("openai_topics list_topics", /*limit*/ 8) .expect("debug search should succeed"); assert_eq!( @@ -471,7 +471,7 @@ mod tests { let handler = ToolSearchHandler::new(search_infos); let debug = handler - .search_with_debug("api_token", 8) + .search_with_debug("api_token", /*limit*/ 8) .expect("debug search should succeed"); let serialized = format!("{debug:?}");