Skip to content

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

test(storage): reformat fenced backend setup in blob sweep test

Steven Enamakelf549008bd64d
diff --git a/crates/openhuman-core/src/storage/blob_sweep_tests.rs b/crates/openhuman-core/src/storage/blob_sweep_tests.rs
index dbf8f4680c..c36e84e8ef 100644
--- a/crates/openhuman-core/src/storage/blob_sweep_tests.rs
+++ b/crates/openhuman-core/src/storage/blob_sweep_tests.rs
@@ -67,10 +67,11 @@ async fn sweeping_through_the_fenced_backend_reaches_the_driver() {
let scope = Scope::local();
put_expiring(&inner, &scope, "gone", 10).await;
now.store(2_000, Ordering::SeqCst);
- let fenced: Arc<dyn StorageBackend> = Arc::new(super::super::fenced_backend::FencedBackend::new(
- inner,
- Arc::new(crate::storage::fence::FenceRegistry::new(|| 0)),
- ));
+ let fenced: Arc<dyn StorageBackend> =
+ Arc::new(super::super::fenced_backend::FencedBackend::new(
+ inner,
+ Arc::new(crate::storage::fence::FenceRegistry::new(|| 0)),
+ ));
assert_eq!(sweep_scope(fenced.as_ref(), &scope).await, 1);
}