From b5204372a33cefa2e5c3e4f41d671df5ba6df2a2 Mon Sep 17 00:00:00 2001 From: Henry Park Date: Fri, 27 Mar 2026 15:07:07 -0700 Subject: [PATCH] Fix stale tool_search e2e assertion --- tests/e2e_builtin_tool_coverage.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/e2e_builtin_tool_coverage.rs b/tests/e2e_builtin_tool_coverage.rs index aae51dde..8bfa894e 100644 --- a/tests/e2e_builtin_tool_coverage.rs +++ b/tests/e2e_builtin_tool_coverage.rs @@ -934,8 +934,10 @@ mod tests { .as_str() .expect("tool_search description should be a string"); assert!( - tool_search_description.contains("Install and activate channels here"), - "tool_search description should describe setup/activation: {tool_search_description}" + tool_search_description.contains("`tool_install`") + && tool_search_description.contains("`tool_activate`"), + "tool_search description should describe setup/activation via tool_install and \ + tool_activate: {tool_search_description}" ); assert!( tool_search_description.contains("use the `message` tool for proactive outbound sends"),