Skip to content

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

test(storage): clean up async spawn syntax in local tests

Steven Enamakel7c54a185e0a5
diff --git a/crates/openhuman-core/src/storage/local_tests.rs b/crates/openhuman-core/src/storage/local_tests.rs
index dbcbd7b392..8198faa787 100644
--- a/crates/openhuman-core/src/storage/local_tests.rs
+++ b/crates/openhuman-core/src/storage/local_tests.rs
@@ -140,9 +140,8 @@ fn current_thread_sync_fallback_does_not_deadlock_on_async_backend_initializatio
let (release_tx, release_rx) = tokio::sync::oneshot::channel();
super::install_test_backend_open_gate(started_tx, release_rx);
- let asynchronous = tokio::spawn(async move {
- backend_for_async(&workspace_for_async).await.unwrap()
- });
+ let asynchronous =
+ tokio::spawn(async move { backend_for_async(&workspace_for_async).await.unwrap() });
started_rx
.await
.expect("async initialization claimed the workspace cell");