persona tests: outcome_trace needs no unwrap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
263c903508
commit
28c357444f
1 changed files with 1 additions and 1 deletions
|
|
@ -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))]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue