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