Skip to content

Commit 6ba89f0

Browse files
zzylolclaude
andcommitted
test(integration): filtered summary state derives its coverage
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W7qG9aFyPij5uWsyAJCxDW
1 parent babc66e commit 6ba89f0

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎crates/integration-tests/tests/filtered_aggregates.rs‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,14 +204,10 @@ fn with_summary_filter(
204204
filter: Some(filter.clone()),
205205
}))
206206
.unwrap();
207-
let state = match &root.coverage {
208-
Some(coverage) => state.with_coverage(coverage.clone()).unwrap(),
209-
None => state,
210-
};
211207
return Rc::new(state);
212208
}
213209
Rc::new(
214-
root.map_children(|c| with_summary_filter(c, filter))
210+
root.with_new_children(|c| with_summary_filter(c, filter))
215211
.unwrap(),
216212
)
217213
}

0 commit comments

Comments
 (0)