Revert "Don't replace newer diagnostics with older ones"
This reverts commit 71eeeedc05
.
This commit is contained in:
parent
e7e45be6e1
commit
4f39181c4c
7 changed files with 13 additions and 33 deletions
|
@ -2412,10 +2412,9 @@ async fn test_collaborating_with_diagnostics(
|
|||
path: Arc::from(Path::new("a.rs")),
|
||||
},
|
||||
DiagnosticSummary {
|
||||
language_server_id: 0,
|
||||
error_count: 1,
|
||||
warning_count: 0,
|
||||
version: 2,
|
||||
..Default::default()
|
||||
},
|
||||
)]
|
||||
)
|
||||
|
@ -2445,10 +2444,9 @@ async fn test_collaborating_with_diagnostics(
|
|||
path: Arc::from(Path::new("a.rs")),
|
||||
},
|
||||
DiagnosticSummary {
|
||||
language_server_id: 0,
|
||||
error_count: 1,
|
||||
warning_count: 0,
|
||||
version: 2,
|
||||
..Default::default()
|
||||
},
|
||||
)]
|
||||
);
|
||||
|
@ -2486,10 +2484,9 @@ async fn test_collaborating_with_diagnostics(
|
|||
path: Arc::from(Path::new("a.rs")),
|
||||
},
|
||||
DiagnosticSummary {
|
||||
language_server_id: 0,
|
||||
error_count: 1,
|
||||
warning_count: 1,
|
||||
version: 3,
|
||||
..Default::default()
|
||||
},
|
||||
)]
|
||||
);
|
||||
|
@ -2503,10 +2500,9 @@ async fn test_collaborating_with_diagnostics(
|
|||
path: Arc::from(Path::new("a.rs")),
|
||||
},
|
||||
DiagnosticSummary {
|
||||
language_server_id: 0,
|
||||
error_count: 1,
|
||||
warning_count: 1,
|
||||
version: 3,
|
||||
..Default::default()
|
||||
},
|
||||
)]
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue