Skip to content

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

test(ops_inference_gate): format mutex lock call across multiple lines

Steven Enamakel80a60cfeb8d4
diff --git a/crates/openhuman-core/src/flows/ops_inference_gate_tests.rs b/crates/openhuman-core/src/flows/ops_inference_gate_tests.rs
index 66605ce53a..e05c035c57 100644
--- a/crates/openhuman-core/src/flows/ops_inference_gate_tests.rs
+++ b/crates/openhuman-core/src/flows/ops_inference_gate_tests.rs
@@ -5,7 +5,9 @@ use super::*;
fn signed_out_test_guard() -> std::sync::MutexGuard<'static, ()> {
static LOCK: std::sync::OnceLock<std::sync::Mutex<()>> = std::sync::OnceLock::new();
- LOCK.get_or_init(|| std::sync::Mutex::new(())).lock().unwrap()
+ LOCK.get_or_init(|| std::sync::Mutex::new(()))
+ .lock()
+ .unwrap()
}
#[tokio::test]