test: align no-workdir routed tool contract
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user