huginn-mind: iterate the envelope slice in the read-back census
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f29a7ce7f0
commit
0f491b00ef
1 changed files with 1 additions and 0 deletions
|
|
@ -797,6 +797,7 @@ mod tests {
|
|||
// The census is taken apart from the loop that checks each document.
|
||||
let pipeline_envelopes = mind
|
||||
.envelopes()
|
||||
.iter()
|
||||
.filter(|envelope| PipelineKind::ALL.iter().any(|kind| kind.type_id() == envelope.r#type))
|
||||
.count();
|
||||
assert!(pipeline_envelopes > 0, "the snapshot held no pipeline document");
|
||||
|
|
|
|||
Loading…
Reference in a new issue