Skip to content

Commit

Permalink
test(langserver): correct some regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
d-biehl committed Jan 20, 2025
1 parent eca2e33 commit 98fe4d0
Show file tree
Hide file tree
Showing 22 changed files with 54,156 additions and 54,154 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import dataclasses
from typing import cast
from typing import List, Union, cast

import pytest
import yaml

from robotcode.core.lsp.types import Location
from robotcode.core.lsp.types import Location, SymbolInformation, WorkspaceSymbol
from robotcode.core.uri import Uri
from robotcode.language_server.robotframework.protocol import (
RobotLanguageServerProtocol,
Expand Down Expand Up @@ -38,7 +38,9 @@ def test(
dataclasses.replace(v.location, uri=Uri(v.location.uri).to_path().name),
),
)
for v in result
for v in cast(
"Union[List[WorkspaceSymbol], List[SymbolInformation]]", sorted(result, key=lambda v: v.name)
)
],
}
)
Expand Down

0 comments on commit 98fe4d0

Please sign in to comment.