test: align no-workdir routed tool contract

This commit is contained in:
2026-09-21 04:35:52 +09:00
parent 14d21c4642
commit 5525640ef6
+3 -3
View File
@@ -4472,10 +4472,10 @@ mod tests {
)] )]
); );
let names = captured_tool_names(&client, 0); let names = captured_tool_names(&client, 0);
for forbidden in core_filesystem_tool_names() { for expected in core_filesystem_tool_names() {
assert!( assert!(
!names.contains(forbidden), names.contains(expected),
"no-workdir Worker unexpectedly exposed {forbidden}; tools={names:?}" "no-workdir Worker did not expose stable routed tool {expected}; tools={names:?}"
); );
} }
let observations = runtime let observations = runtime