Use more complete snapshot tests for the index scheduler

This commit is contained in:
Loïc Lecrenier 2022-10-10 15:51:28 +02:00 committed by Clément Renault
parent fd73e65165
commit 570ae05833
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
13 changed files with 273 additions and 194 deletions

View file

@ -317,7 +317,7 @@ impl KindWithContent {
todo!()
}
KindWithContent::CancelTask { .. } => {
todo!()
None // TODO: check correctness of this return value
}
KindWithContent::DeleteTasks { query, tasks } => Some(Details::DeleteTasks {
matched_tasks: tasks.len(),