Skip to content

Commit d57fd2b

Browse files
committed
Merge branch 'config_file' into 'master'
Fixing test See merge request eng/ide/ada_language_server!1861
2 parents 965730c + 92e4a1f commit d57fd2b

File tree

1 file changed

+5
-4
lines changed
  • testsuite/ada_lsp/config_file

1 file changed

+5
-4
lines changed

Diff for: testsuite/ada_lsp/config_file/test.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
Location,
1919
)
2020

21-
# create default.cgpr configuration file that will use sjlj runtime
22-
subprocess.check_call(["gprconfig", "--batch", "--config=Ada,,sjlj,,GNAT"])
21+
22+
# create default.cgpr configuration file that will use not-default runtime
23+
subprocess.check_call(["gprconfig", "--batch", "--config=Ada,,light,,GNAT"])
2324

2425

2526
@test()
@@ -42,7 +43,7 @@ async def do_testing(lsp: ALSLanguageClient) -> None:
4243
# Check result
4344
assert result
4445
assert isinstance(result, Location)
45-
assertEqual("sjlj" in result.uri, True)
46+
assertEqual("light" in result.uri, True)
4647

4748
# Check relative to root paths
4849
lsp.didChangeConfig(
@@ -62,4 +63,4 @@ async def do_testing(lsp: ALSLanguageClient) -> None:
6263
# Check result
6364
assert result
6465
assert isinstance(result, Location)
65-
assertEqual("sjlj" in result.uri, True)
66+
assertEqual("light" in result.uri, True)

0 commit comments

Comments
 (0)