diff --git a/crates/mind-body/src/projection/domain/tests.rs b/crates/mind-body/src/projection/domain/tests.rs index 4ced73c..4d921e3 100644 --- a/crates/mind-body/src/projection/domain/tests.rs +++ b/crates/mind-body/src/projection/domain/tests.rs @@ -93,7 +93,7 @@ fn names() -> Names { /// The digest's items, as text, from `since()` to `now()`. fn texts(facts: &DomainFacts) -> Vec { - digest(facts, since(), now(), &names()).items.into_iter().map(|item| item.text).collect() + digest(facts, since(), None, now(), &names()).items.into_iter().map(|item| item.text).collect() } fn read_through(mind: &TestMind, forge: &dyn ForgeGet) -> Result { diff --git a/crates/mind-body/src/projection/outcome/tests.rs b/crates/mind-body/src/projection/outcome/tests.rs index d6ca25d..2c46d2f 100644 --- a/crates/mind-body/src/projection/outcome/tests.rs +++ b/crates/mind-body/src/projection/outcome/tests.rs @@ -243,7 +243,7 @@ fn i16_10_every_lines_first_clause_is_what_its_receipt_says_reached_the_room() { for part in &outcome.parts { let quoted = |text: &str| spoken(text); let (reached, rest) = (part.reached(her, "ed), part.rest(her, "ed)); - assert_eq!(part.line(her, usize::MAX, Some(&[]), &[]), format!("- {reached}{rest}"), "{part:?}"); + assert_eq!(part.line(her, usize::MAX, Some(&[]), &[], &[]), format!("- {reached}{rest}"), "{part:?}"); // "{Room} has" only on a receipt that a line went out or was added to. let receipt = matches!(part, Part::Said { .. } | Part::Promise { .. } | Part::Amended { .. }); assert_eq!(reached.starts_with("#minds:gamecult.org has"), receipt, "{part:?}: {reached}"); diff --git a/crates/mind-body/src/projection/select.rs b/crates/mind-body/src/projection/select.rs index aa86ced..b93fa44 100644 --- a/crates/mind-body/src/projection/select.rs +++ b/crates/mind-body/src/projection/select.rs @@ -36,7 +36,7 @@ use unicode_segmentation::UnicodeSegmentation; use super::Affordance; use super::domain::{About, Digest, Item, floor_minute}; -use super::outcome::{self, Outcome}; +use super::outcome::Outcome; use super::tuning::{LensWeights, Tuning}; use crate::address::localpart;