Skip to content

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

test(web_chat): reformat heartbeat match arm

Steven Enamakel8fa25b3f0ef2
diff --git a/crates/openhuman-core/src/web_chat/turn_host_tests.rs b/crates/openhuman-core/src/web_chat/turn_host_tests.rs
index 95c5a0da21..1b1701c431 100644
--- a/crates/openhuman-core/src/web_chat/turn_host_tests.rs
+++ b/crates/openhuman-core/src/web_chat/turn_host_tests.rs
@@ -161,8 +161,10 @@ async fn the_heartbeat_beats_only_for_a_live_turn() {
"host-hb-thread",
"the inactive turn must not publish a heartbeat"
),
- Err(tokio::sync::broadcast::error::TryRecvError::Empty
- | tokio::sync::broadcast::error::TryRecvError::Closed) => break,
+ Err(
+ tokio::sync::broadcast::error::TryRecvError::Empty
+ | tokio::sync::broadcast::error::TryRecvError::Closed,
+ ) => break,
Err(tokio::sync::broadcast::error::TryRecvError::Lagged(_)) => continue,
}
}