Skip to content

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

test(connect): reformat memory test scope block

Steven Enamakelea7a76ce8dbe
diff --git a/crates/openhuman-core/src/channels/controllers/ops/connect/memory_tests.rs b/crates/openhuman-core/src/channels/controllers/ops/connect/memory_tests.rs
index ee9da163ae..80011c2ee8 100644
--- a/crates/openhuman-core/src/channels/controllers/ops/connect/memory_tests.rs
+++ b/crates/openhuman-core/src/channels/controllers/ops/connect/memory_tests.rs
@@ -245,13 +245,12 @@ async fn stamped_channel_forget_isolated_to_the_configured_account() {
)
.await;
- let (forgotten, queued) =
- CoreContext::scope(current_ctx.into_core().unwrap(), async {
- let forgotten = clear_channel_memory(&current, "discord").await.unwrap();
- let queued = crate::memory::deletion::pending(&current.workspace_dir);
- (forgotten, queued)
- })
- .await;
+ let (forgotten, queued) = CoreContext::scope(current_ctx.into_core().unwrap(), async {
+ let forgotten = clear_channel_memory(&current, "discord").await.unwrap();
+ let queued = crate::memory::deletion::pending(&current.workspace_dir);
+ (forgotten, queued)
+ })
+ .await;
assert_eq!(forgotten, 0);
assert_eq!(
queued,