Skip to content

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

test(mcp): reformat cleanup callback assertion

Steven Enamakel8530e8aa911a
diff --git a/crates/openhuman-core/src/mcp/module_client/cleanup_tests.rs b/crates/openhuman-core/src/mcp/module_client/cleanup_tests.rs
index 14b407f3dc..1328743c3f 100644
--- a/crates/openhuman-core/src/mcp/module_client/cleanup_tests.rs
+++ b/crates/openhuman-core/src/mcp/module_client/cleanup_tests.rs
@@ -430,10 +430,7 @@ fn cleanup_callback_can_access_the_client_cache() {
McpConfiguredClient::schedule_agent_close_and_cleanup(
workspace.path(),
Arc::new(move || {
- callback_flag.store(
- CLIENTS.get().unwrap().try_lock().is_ok(),
- Ordering::SeqCst,
- );
+ callback_flag.store(CLIENTS.get().unwrap().try_lock().is_ok(), Ordering::SeqCst);
true
}),
);