Skip to content

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

style: apply rustfmt formatting to storage import and e2e test

Steven Enamakela8b210f4471d
diff --git a/crates/openhuman-core/src/storage/local.rs b/crates/openhuman-core/src/storage/local.rs
index 27f49991ac..211715c443 100644
--- a/crates/openhuman-core/src/storage/local.rs
+++ b/crates/openhuman-core/src/storage/local.rs
@@ -236,7 +236,12 @@ fn import(
let mut written = 0usize;
for row in rows {
match docs
- .put(row.collection, &row.id, row.doc, tinystoragedrivers::Precondition::Absent)
+ .put(
+ row.collection,
+ &row.id,
+ row.doc,
+ tinystoragedrivers::Precondition::Absent,
+ )
.await
{
Ok(_) => written += 1,
diff --git a/tests/storage_default_import_e2e.rs b/tests/storage_default_import_e2e.rs
index efc80af68f..56ba3b7228 100644
--- a/tests/storage_default_import_e2e.rs
+++ b/tests/storage_default_import_e2e.rs
@@ -84,7 +84,10 @@ fn start(home: &Path, workspace: &Path, url: Option<&str>) -> (Server, String) {
if let Ok(Some(status)) = server.0.try_wait() {
panic!("openhuman-core exited before serving: {status}");
}
- assert!(Instant::now() < deadline, "openhuman-core never became healthy");
+ assert!(
+ Instant::now() < deadline,
+ "openhuman-core never became healthy"
+ );
std::thread::sleep(Duration::from_millis(250));
}
}