Skip to content

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

test(storage): reformat failed import closure for readability

Steven Enamakel3a6eea508ff3
diff --git a/crates/openhuman-core/src/modules/storage_import_tinyjuice_savings_tests.rs b/crates/openhuman-core/src/modules/storage_import_tinyjuice_savings_tests.rs
index 1233486861..9a44158721 100644
--- a/crates/openhuman-core/src/modules/storage_import_tinyjuice_savings_tests.rs
+++ b/crates/openhuman-core/src/modules/storage_import_tinyjuice_savings_tests.rs
@@ -91,7 +91,10 @@ async fn a_failed_hand_over_leaves_no_marker_so_the_next_start_retries() {
let ws = workspace_with(Some(SNAPSHOT));
let file = legacy_file(ws.path());
let scoped = scoped();
- let failed = import_into(&scoped, &file, |_| async { Err(anyhow::anyhow!("bus down")) }).await;
+ let failed = import_into(&scoped, &file, |_| async {
+ Err(anyhow::anyhow!("bus down"))
+ })
+ .await;
assert!(failed.is_err());
let retry = import_into(&scoped, &file, |_| async { Ok(false) })
.await