🐛 fix(lsp_server): disable diagnostics publishing by default
This commit is contained in:
@@ -324,7 +324,7 @@ namespace lsp::test::provider
|
||||
auto expected = FindPosition(content, "function UnitFunc", false);
|
||||
assertTrue(location.range.start.line == expected.line, "Definition should resolve in document");
|
||||
|
||||
assertTrue(saw_diagnostics, "Server should publish diagnostics after didOpen");
|
||||
assertTrue(!saw_diagnostics, "Server should not publish diagnostics during staged rollout");
|
||||
assertTrue(!by_id["5"].error.has_value(), "Shutdown response should not contain error");
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user