From 5cac4f873f9005384fca5dcab50dc9f101269e70 Mon Sep 17 00:00:00 2001 From: Chummy Date: Mon, 2 Mar 2026 17:39:11 +0800 Subject: [PATCH] style(rustfmt): align orchestration config tests --- src/tools/model_routing_config.rs | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/src/tools/model_routing_config.rs b/src/tools/model_routing_config.rs index 0c41d41f2..c97e452e5 100644 --- a/src/tools/model_routing_config.rs +++ b/src/tools/model_routing_config.rs @@ -1880,12 +1880,10 @@ mod tests { .await .unwrap(); assert!(!zero_team_agents.success); - assert!( - zero_team_agents - .error - .unwrap_or_default() - .contains("max_team_agents") - ); + assert!(zero_team_agents + .error + .unwrap_or_default() + .contains("max_team_agents")); let zero_subagents = tool .execute(json!({ @@ -1895,12 +1893,10 @@ mod tests { .await .unwrap(); assert!(!zero_subagents.success); - assert!( - zero_subagents - .error - .unwrap_or_default() - .contains("max_concurrent_subagents") - ); + assert!(zero_subagents + .error + .unwrap_or_default() + .contains("max_concurrent_subagents")); let zero_poll = tool .execute(json!({ @@ -1910,12 +1906,10 @@ mod tests { .await .unwrap(); assert!(!zero_poll.success); - assert!( - zero_poll - .error - .unwrap_or_default() - .contains("subagents_queue_poll_ms") - ); + assert!(zero_poll + .error + .unwrap_or_default() + .contains("subagents_queue_poll_ms")); } #[tokio::test]