From 8b9488bacbc11854d41bf33a497f4b25e34702f0 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Thu, 4 Nov 2021 17:34:33 -0700 Subject: [PATCH] Add missing group_id fields in rpc test --- crates/server/src/rpc.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/server/src/rpc.rs b/crates/server/src/rpc.rs index aebebc589177910c7dd31a7992f3d7c084b39bfb..d9d45207d054c63f52fe722e4f0e65957a49cf48 100644 --- a/crates/server/src/rpc.rs +++ b/crates/server/src/rpc.rs @@ -1713,6 +1713,7 @@ mod tests { ( Point::new(0, 4)..Point::new(0, 7), &Diagnostic { + group_id: 0, message: "message 1".to_string(), severity: lsp::DiagnosticSeverity::ERROR, } @@ -1720,6 +1721,7 @@ mod tests { ( Point::new(0, 10)..Point::new(0, 13), &Diagnostic { + group_id: 1, severity: lsp::DiagnosticSeverity::WARNING, message: "message 2".to_string() }