Skip to content

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

chore(host_tests): reformat assertion blocks for readability

Steven Enamakel923f6b641846
diff --git a/src/openhuman/mcp/host_tests.rs b/src/openhuman/mcp/host_tests.rs
index 91b5a1dfcf..27314fb213 100644
--- a/src/openhuman/mcp/host_tests.rs
+++ b/src/openhuman/mcp/host_tests.rs
@@ -139,12 +139,12 @@ fn a_multi_header_credential_keeps_every_header() {
match &client_config(&config).servers[0].auth {
tinymcp::McpAuthConfig::Headers { headers } => {
assert_eq!(headers.len(), 2);
- assert!(headers.iter().any(|header| {
- header.name == "X-Client-Key" && header.value == "k"
- }));
- assert!(headers.iter().any(|header| {
- header.name == "Authorization" && header.value == "Bearer s"
- }));
+ assert!(headers
+ .iter()
+ .any(|header| { header.name == "X-Client-Key" && header.value == "k" }));
+ assert!(headers
+ .iter()
+ .any(|header| { header.name == "Authorization" && header.value == "Bearer s" }));
}
other => panic!("expected several headers, got {other:?}"),
}