Fix group_ids assertions in diagnostics test

Max Brunsfeld and Nathan Sobo created

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Change summary

crates/language/src/tests.rs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Detailed changes

crates/language/src/tests.rs 🔗

@@ -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,
                     },
                 )
             ]