Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
testupdated : Update symbol locations after adding new lines in test …
Browse files Browse the repository at this point in the history
…file
  • Loading branch information
kugesan1105 committed Aug 26, 2024
1 parent 4fc3fdb commit 5727553
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions jaclang/langserve/tests/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@ def test_py_type__definition(self) -> None:
positions = [
(19, 29, "pygame_mock/color.py:0:0-2:4"),
(3, 17, "/pygame_mock/__init__.py:0:0-0:0"),
(14 + 5, 45, "pygame_mock/color.py:0:0-2:4"),
(13 + 6, 77, "mock/constants.py:4:3-4:15"),
(20, 45, "pygame_mock/color.py:0:0-2:4"),
(19, 77, "mock/constants.py:4:3-4:15"),
(26, 28, "mock/display.py:0:0-1:7"),
(24, 22, "/argparse.pyi:124:0-249:13"),
(19, 74, "pygame_mock/constants.py:4:3-4:15"),
Expand Down Expand Up @@ -452,27 +452,41 @@ def test_py_type__references(self) -> None:
lsp.deep_check(circle_file)
test_cases = [
(
12,
15,
2,
21,
[
":6:21-6:32",
":7:11-7:22",
":11:25-11:36",
":12:15-12:26",
":18:33-18:44",
"19:46-19:57",
":19:8-19:19",
":19:46-19:57",
":20:8-20:19",
"21:8-21:19,",
"23:8-23:19",
":26:4-26:15",
],
),
(13, 63, ["6:33-6:42", "7:23-7:32", "12:45-12:54", "13:58-13:67"]),
(
15,
19,
63,
[
"6:33-6:42",
"7:23-7:32",
"18:45-18:54",
"19:58-19:67",
"11:37-11:46",
"12:27-12:36",
],
),
(
24,
53,
[
"15:42-15:56",
"15:16-15:30",
"24:42-24:56",
"24:16-24:30",
"argparse.pyi:334:21-334:35",
"argparse.pyi:163:29-163:43",
"argparse.pyi:32:52-32:66",
Expand Down

0 comments on commit 5727553

Please sign in to comment.