K25 fix-up: the tests pass the last look and her own words; Select no longer names the outcome module
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b6c939ac18
commit
a57fdab4f5
3 changed files with 3 additions and 3 deletions
|
|
@ -93,7 +93,7 @@ fn names() -> Names {
|
|||
|
||||
/// The digest's items, as text, from `since()` to `now()`.
|
||||
fn texts(facts: &DomainFacts) -> Vec<String> {
|
||||
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<DomainFacts> {
|
||||
|
|
|
|||
|
|
@ -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}");
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue