Skip to content

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

test: reflow assertions to satisfy formatting

Steven Enamakel1c7db4fe2b8c
diff --git a/crates/openhuman-core/src/agent_runs/agent_chat/controllers_tests.rs b/crates/openhuman-core/src/agent_runs/agent_chat/controllers_tests.rs
index 8be67378f7..f14e8c39bf 100644
--- a/crates/openhuman-core/src/agent_runs/agent_chat/controllers_tests.rs
+++ b/crates/openhuman-core/src/agent_runs/agent_chat/controllers_tests.rs
@@ -82,10 +82,7 @@ fn inference_agent_chat_parses_its_route_fields() {
params.inference_provider_options,
Some(serde_json::json!({"reasoning": {"effort": "high"}}))
);
- assert_eq!(
- params.inference_reasoning_effort.as_deref(),
- Some("high")
- );
+ assert_eq!(params.inference_reasoning_effort.as_deref(), Some("high"));
}
#[test]
@@ -107,10 +104,7 @@ fn inference_agent_chat_keeps_the_optional_agent_id_schema_and_typed_route_field
"the inference surface still validates route fields"
);
- for name in [
- "inference_provider_options",
- "inference_reasoning_effort",
- ] {
+ for name in ["inference_provider_options", "inference_reasoning_effort"] {
assert!(
schema.inputs.iter().any(|field| field.name == name),
"the inference chat schema must preserve the {name} wire field"
diff --git a/tests/storage_flows_e2e.rs b/tests/storage_flows_e2e.rs
index 716c5746e5..d2a8d728ec 100644
--- a/tests/storage_flows_e2e.rs
+++ b/tests/storage_flows_e2e.rs
@@ -180,7 +180,11 @@ async fn legacy_tinyflows_files_are_imported_into_a_configured_backend() {
format!("{error:#}").contains("conditional_writes"),
"memory backend should explain why the import was refused: {error:#}"
);
- assert_eq!(digest(workspace.path()), before, "a legacy file was modified");
+ assert_eq!(
+ digest(workspace.path()),
+ before,
+ "a legacy file was modified"
+ );
return;
}
for report in reports {