Skip to content

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

test(tokenjuice): reformat rpc scope assertion

Steven Enamakel0b52157ae461
diff --git a/crates/openhuman-core/src/inference/tokenjuice/rpc_scope_tests.rs b/crates/openhuman-core/src/inference/tokenjuice/rpc_scope_tests.rs
index 98503a1f14..7def3c4733 100644
--- a/crates/openhuman-core/src/inference/tokenjuice/rpc_scope_tests.rs
+++ b/crates/openhuman-core/src/inference/tokenjuice/rpc_scope_tests.rs
@@ -276,7 +276,10 @@ async fn tokenjuice_rpcs_use_their_derived_config_for_module_calls_and_install()
let methods = calls.methods.lock().unwrap();
for method in ["Detect", "Compress", "CacheStats", "Retrieve"] {
assert_eq!(
- methods.iter().filter(|actual| actual.as_str() == method).count(),
+ methods
+ .iter()
+ .filter(|actual| actual.as_str() == method)
+ .count(),
2,
"{method} reached the TinyBus client once per derived context"
);