huginn-mind tests: name the outcome type

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-31 16:37:07 +01:00
commit 9b19c30ea8

View file

@ -1788,7 +1788,7 @@ mod tests {
let fu2 = r(K::FollowUp, &id("follow_up", "FU-2"));
assert!(
matches!(admit(&mut mind, vec![resolution(fu2, ResolutionOutcome::Answered { by: r(K::Ruling, &id("ruling", "R1")) })]), PipelineAdmissionOutcome::Refused(_)),
matches!(admit(&mut mind, vec![resolution(fu2, ResolutionOutcome::Answered { by: r(K::Ruling, &id("ruling", "R1")) })]), crate::PipelineAdmissionOutcome::Refused(_)),
"Answered stays a question's outcome"
);
assert_eq!(open_follow_ups(&mind), vec![id("follow_up", "FU-2")]);