From 28c357444fd7c5856cc863da37220945fcda10f5 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 28 Nov 2026 07:11:19 +0100 Subject: [PATCH] persona tests: outcome_trace needs no unwrap Co-Authored-By: Claude Opus 5.5 --- crates/mind-body/src/projection/outcome/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/mind-body/src/projection/outcome/tests.rs b/crates/mind-body/src/projection/outcome/tests.rs index b6fce18..3c347cc 100644 --- a/crates/mind-body/src/projection/outcome/tests.rs +++ b/crates/mind-body/src/projection/outcome/tests.rs @@ -648,7 +648,7 @@ fn t6_a_refused_send_is_told_as_not_gone_out() { let (lines, omitted) = told_trace(&refused(json!([]), json!([]))); assert_eq!(lines, [format!("- He had drafted {}, and it did not go out.", crate::projection::select::spoken(text))], "{omitted:?}"); assert!(omitted.is_empty(), "{omitted:?}"); - let outcome = outcome_trace(&refused(json!([]), json!([]))).unwrap(); + let outcome = outcome_trace(&refused(json!([]), json!([]))); assert_eq!(outcome.event(0, packet().forms, &[]), "- He had drafted a line, and it did not go out."); let (reach, _) = told_trace(&refused(json!([]), json!([{ "kind": "missing_affordance", "draft": 1, "quote": null, "detail": "" }]))); assert_eq!(reach, [format!("- He had drafted {}, and it did not go out. It reaches for something he has no way to do from here.", crate::projection::select::spoken(text))]);