Fix tracking of in-progress disk-based diagnostics on indicator

Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
Antonio Scandurra 2022-06-07 19:21:09 +02:00
parent bbfa6580a4
commit b04e62d895
3 changed files with 58 additions and 42 deletions

View file

@ -1003,7 +1003,7 @@ mod tests {
// Diagnostics are added for another earlier path.
project.update(cx, |project, cx| {
project.disk_based_diagnostics_started(cx);
project.disk_based_diagnostics_started(0, cx);
project
.update_diagnostic_entries(
0,
@ -1103,7 +1103,7 @@ mod tests {
// Diagnostics are added to the first path
project.update(cx, |project, cx| {
project.disk_based_diagnostics_started(cx);
project.disk_based_diagnostics_started(0, cx);
project
.update_diagnostic_entries(
0,