Digest content fix-up: the read_domain tests pass the names
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
089fac98fa
commit
04c0c08df3
1 changed files with 2 additions and 2 deletions
|
|
@ -218,10 +218,10 @@ fn k23_a_failed_read_fails_whole_and_project_leaves_the_section_out_and_reports_
|
|||
read(&|selection: &Selection| self.0.query(selection), &self.0.instance().0, &Down, since, now)
|
||||
}
|
||||
}
|
||||
let (lines, report) = crate::projection::read_domain(Some(&Live(&mind)), None, now());
|
||||
let (lines, report) = crate::projection::read_domain(Some(&Live(&mind)), None, now(), &names());
|
||||
assert!(lines.is_empty(), "{lines:?}");
|
||||
assert_eq!((report["read"].clone(), report["why"].as_str().is_some_and(|why| why.contains("forge"))), (json!(false), true), "{report}");
|
||||
let (lines, report) = crate::projection::read_domain(None, None, now());
|
||||
let (lines, report) = crate::projection::read_domain(None, None, now(), &names());
|
||||
assert!(lines.is_empty() && report["read"] == json!(false), "{report}");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue