From 4e9d1dbd238119194448f41f03b9cb5e5c613ec8 Mon Sep 17 00:00:00 2001 From: Eureka Date: Wed, 11 Nov 2026 11:40:35 +0000 Subject: [PATCH] stream tests: take the recorded request id by value Co-Authored-By: Claude Sonnet 5.5 --- crates/mind-body/src/stream/tests.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/mind-body/src/stream/tests.rs b/crates/mind-body/src/stream/tests.rs index 990d4ec..958dcef 100644 --- a/crates/mind-body/src/stream/tests.rs +++ b/crates/mind-body/src/stream/tests.rs @@ -592,8 +592,7 @@ fn request_ids_name_the_tick_and_a_dry_run_never_takes_the_live_one() { let model = Fake::saying("I turn it over.", &["A drift"]); let wrap = Wrap::over(&mind, &[0.1]); tick(&organs(&wrap, &persona, &model), &|| released(), mode, now).unwrap(); - let id = model.projected.borrow()[0].0.clone(); - id + model.projected.into_inner().remove(0).0 }; let live = run(Mode::Live, at); assert_eq!(live, format!("mind-stream:{INSTANCE}:t{}", at.timestamp()));