mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 01:34:02 +00:00
Fix group_ids assertions in diagnostics test
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
0a704b8d67
commit
8b1b35913a
1 changed files with 4 additions and 4 deletions
|
@ -483,7 +483,7 @@ async fn test_diagnostics(mut cx: gpui::TestAppContext) {
|
|||
&Diagnostic {
|
||||
severity: DiagnosticSeverity::ERROR,
|
||||
message: "undefined variable 'BB'".to_string(),
|
||||
group_id: 0,
|
||||
group_id: 1,
|
||||
},
|
||||
),
|
||||
(
|
||||
|
@ -491,7 +491,7 @@ async fn test_diagnostics(mut cx: gpui::TestAppContext) {
|
|||
&Diagnostic {
|
||||
severity: DiagnosticSeverity::ERROR,
|
||||
message: "undefined variable 'CCC'".to_string(),
|
||||
group_id: 0,
|
||||
group_id: 2,
|
||||
}
|
||||
)
|
||||
]
|
||||
|
@ -548,7 +548,7 @@ async fn test_diagnostics(mut cx: gpui::TestAppContext) {
|
|||
&Diagnostic {
|
||||
severity: DiagnosticSeverity::WARNING,
|
||||
message: "unreachable statement".to_string(),
|
||||
group_id: 0,
|
||||
group_id: 1,
|
||||
}
|
||||
),
|
||||
(
|
||||
|
@ -633,7 +633,7 @@ async fn test_diagnostics(mut cx: gpui::TestAppContext) {
|
|||
&Diagnostic {
|
||||
severity: DiagnosticSeverity::ERROR,
|
||||
message: "undefined variable 'BB'".to_string(),
|
||||
group_id: 0,
|
||||
group_id: 1,
|
||||
},
|
||||
)
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue