Fix group_ids assertions in diagnostics test

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max BrunsfeldandNathan Sobo committed 2021-11-15 14:18:58 -08:00
1 parent f64a7be24c
commit c965e1da25
1 file changed
+4 -4
+4 -4
View File
@@ -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,
},
)
]