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 argument in MCP test

Steven Enamakel68e1a911c5b7
diff --git a/src/embed/harness/mcp_tests.rs b/src/embed/harness/mcp_tests.rs
index 77448b02f3..0ad55886e7 100644
--- a/src/embed/harness/mcp_tests.rs
+++ b/src/embed/harness/mcp_tests.rs
@@ -94,10 +94,7 @@ fn debug_redacts_credentials() {
fn debug_redacts_credentials_embedded_in_the_endpoint() {
// The endpoint can itself carry userinfo or query credentials; Debug must
// strip them rather than print them verbatim.
- let server = McpServer::http(
- "remote",
- "https://user:[email protected]/v1?api_key=leaky",
- );
+ let server = McpServer::http("remote", "https://user:[email protected]/v1?api_key=leaky");
let debug = format!("{server:?}");
assert!(