Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(test): collapse multi-line assertions in orchestrator prompt tests

Steven Enamakel3ad7236e83b9
diff --git a/src/openhuman/agent/registry/agents/orchestrator/prompt.rs b/src/openhuman/agent/registry/agents/orchestrator/prompt.rs
index bd22de2607..c0ef5d457f 100644
--- a/src/openhuman/agent/registry/agents/orchestrator/prompt.rs
+++ b/src/openhuman/agent/registry/agents/orchestrator/prompt.rs
@@ -668,13 +668,11 @@ mod tests {
// delegation-guide clause.
let no_integrations = build(&ctx_with(&[])).unwrap();
assert!(
- no_integrations
- .contains("General knowledge, web/news lookups, headlines, date/time"),
+ no_integrations.contains("General knowledge, web/news lookups, headlines, date/time"),
"Step-2 scope gate must keep general/web/date asks off integrations delegation"
);
assert!(
- no_integrations
- .contains("a request that references none"),
+ no_integrations.contains("a request that references none"),
"Step-2 scope gate must forbid reaching into an unreferenced service"
);