Skip to content

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

test(connectivity): wrap long assertion in rpc port test

Steven Enamakele888eaf5cd94
diff --git a/crates/openhuman-core/src/platform/connectivity/rpc_tests.rs b/crates/openhuman-core/src/platform/connectivity/rpc_tests.rs
index eda6d6e51a..c686546734 100644
--- a/crates/openhuman-core/src/platform/connectivity/rpc_tests.rs
+++ b/crates/openhuman-core/src/platform/connectivity/rpc_tests.rs
@@ -472,5 +472,7 @@ async fn pick_listen_port_identifies_ipv6_openhuman_listener_when_supported() {
let _ = shutdown_tx.send(());
task.abort();
let error = result.expect_err("an OpenHuman IPv6 listener should request takeover");
- assert!(matches!(error, PickListenPortError::WouldTakeOver { preferred, fingerprint } if preferred == port && fingerprint == "openhuman-core"));
+ assert!(
+ matches!(error, PickListenPortError::WouldTakeOver { preferred, fingerprint } if preferred == port && fingerprint == "openhuman-core")
+ );
}