Skip to content

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

style: reformat test code to satisfy rustfmt

Steven Enamakel8d39bfebd1ea
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session_juice_tests.rs b/crates/openhuman-core/src/agent/session_host/runtime_session_juice_tests.rs
index 6f25d7a17e..31b8dc5cc2 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session_juice_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session_juice_tests.rs
@@ -129,7 +129,10 @@ async fn a_resumed_thread_keeps_recorded_juice_specs_and_executors_when_repl_is_
let unavailable = {
let (tools, synthesized_tools) = {
let surface = prelude.tool_surface.lock().expect("tool surface");
- (Arc::clone(&surface.tools), Arc::clone(&surface.synthesized_tools))
+ (
+ Arc::clone(&surface.tools),
+ Arc::clone(&surface.synthesized_tools),
+ )
};
let tool = tools
.iter()
diff --git a/tests/tinysearch_module_e2e.rs b/tests/tinysearch_module_e2e.rs
index 6b69fa59b7..38f7b4e4b1 100644
--- a/tests/tinysearch_module_e2e.rs
+++ b/tests/tinysearch_module_e2e.rs
@@ -16,10 +16,7 @@ async fn pinned_search_module_serves_host_contract_and_rejects_disabled_executio
..Default::default()
};
let info = host
- .load_file_with_config(
- file,
- serde_json::to_value(config).unwrap(),
- )
+ .load_file_with_config(file, serde_json::to_value(config).unwrap())
.expect("published artifact is admitted by the host loader");
assert_eq!(info.name, "tinysearch");
assert_eq!(info.version, "0.4.2");