Moved omnisharp module up, minor tweaks

In this state, C# tests with omnisharp as LS mostly pass, except those querying for references
This commit is contained in:
Michael Panchenko
2025-07-06 00:08:40 +02:00
parent 751bf15619
commit cf2a0c248b
4 changed files with 53 additions and 50 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ class TestCSharpLanguageServer:
break
assert add_symbol is not None, "Could not find 'Add' method symbol in Program.cs"
sel_start = add_symbol["selectionRange"]["start"]
refs = language_server.request_references(file_path, sel_start["line"], sel_start["character"])
refs = language_server.request_references(file_path, sel_start["line"], sel_start["character"] + 1)
assert any(
"Program.cs" in ref.get("relativePath", "") for ref in refs
), "Program.cs should reference Add method (tried all positions in selectionRange)"