From 5525640ef64e490249e93d70f5e453efb2829b7f Mon Sep 17 00:00:00 2001 From: Hare Date: Mon, 21 Sep 2026 04:35:52 +0900 Subject: [PATCH] test: align no-workdir routed tool contract --- crates/worker-runtime/src/worker_backend.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/worker-runtime/src/worker_backend.rs b/crates/worker-runtime/src/worker_backend.rs index edfc77409..441e13e0a 100644 --- a/crates/worker-runtime/src/worker_backend.rs +++ b/crates/worker-runtime/src/worker_backend.rs @@ -4472,10 +4472,10 @@ mod tests { )] ); let names = captured_tool_names(&client, 0); - for forbidden in core_filesystem_tool_names() { + for expected in core_filesystem_tool_names() { assert!( - !names.contains(forbidden), - "no-workdir Worker unexpectedly exposed {forbidden}; tools={names:?}" + names.contains(expected), + "no-workdir Worker did not expose stable routed tool {expected}; tools={names:?}" ); } let observations = runtime