From 07e237c789d2dcc025a04e75b31cdefec91b1b77 Mon Sep 17 00:00:00 2001 From: damocles Date: Sun, 15 Nov 2026 16:16:13 +0100 Subject: [PATCH] rustfmt the run-state publisher --- hive-subagent-mcp/src/swarm_term.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/hive-subagent-mcp/src/swarm_term.rs b/hive-subagent-mcp/src/swarm_term.rs index 9dd5b397e..ffbee307c 100644 --- a/hive-subagent-mcp/src/swarm_term.rs +++ b/hive-subagent-mcp/src/swarm_term.rs @@ -668,8 +668,14 @@ mod tests { let mut beat = refresh(&mut runs, 160); beat.sort_by(|a, b| a.0.cmp(&b.0)); assert_eq!(beat.len(), 2); - assert_eq!((beat[0].0.as_str(), beat[0].1.since, beat[0].1.ts), ("other", 130, 160)); - assert_eq!((beat[1].0.as_str(), beat[1].1.since, beat[1].1.ts), ("scout", 100, 160)); + assert_eq!( + (beat[0].0.as_str(), beat[0].1.since, beat[0].1.ts), + ("other", 130, 160) + ); + assert_eq!( + (beat[1].0.as_str(), beat[1].1.since, beat[1].1.ts), + ("scout", 100, 160) + ); assert!(beat.iter().all(|(_, s)| s.state == RunState::Running)); }