File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
turbopack/crates/turbo-tasks-backend/src/backend/operation Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -573,6 +573,23 @@ impl AggregatedDataUpdate {
573573 let upper_current_session_clean_update =
574574 before_after_to_diff_value ( was_flagged_clean, is_flagged_clean) ;
575575
576+ let compute_result = ComputeDirtyAndCleanUpdate {
577+ old_dirty_container_count,
578+ new_dirty_container_count,
579+ old_current_session_clean_container_count,
580+ new_current_session_clean_container_count,
581+ old_dirty_value : dirty_value,
582+ new_dirty_value : dirty_value,
583+ old_current_session_clean_value : clean_value,
584+ new_current_session_clean_value : clean_value,
585+ }
586+ . compute ( ) ;
587+ assert_eq ! ( compute_result. dirty_count_update, upper_count_update) ;
588+ assert_eq ! (
589+ compute_result. current_session_clean_update,
590+ upper_current_session_clean_update
591+ ) ;
592+
576593 if upper_count_update != 0 || upper_current_session_clean_update != 0 {
577594 result. dirty_container_update = Some ( (
578595 task_id,
You can’t perform that action at this time.
0 commit comments