Fix tracking of in-progress disk-based diagnostics on indicator
Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
bbfa6580a4
commit
b04e62d895
3 changed files with 58 additions and 42 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue