Skip to content

Commit

Permalink
Merge branch 'topic/fix' into 'edge'
Browse files Browse the repository at this point in the history
Fix project files in tests.

See merge request eng/ide/ada_language_server!1679
  • Loading branch information
reznikmm committed Sep 3, 2024
2 parents a0d2fa1 + fc62531 commit 0c4ec4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 3 additions & 4 deletions testsuite/ada_lsp/project_config/project_config_2.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,17 @@
}
}
},
"comment": "NOTE: we are loading an invalid project which has two files containing the same compilation unit: the behavior is undetermined.",
"wait":[{
"id": "defname-1",
"result":{
"uri": "$URI{second.ads}",
"uri": "$URI{third.ads}",
"range": {
"start": {
"line": 0,
"line": 3,
"character": 10
},
"end": {
"line": 0,
"line": 3,
"character": 22
}
}
Expand Down
2 changes: 2 additions & 0 deletions testsuite/ada_lsp/project_config/right_project.gpr
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
project Right_Project is
for Excluded_Source_Files use ("third.ads");

package Naming is
for Spec ("To_Be_Called") use "second.ads";
end Naming;
Expand Down
2 changes: 2 additions & 0 deletions testsuite/ada_lsp/project_config/wrong_project.gpr
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
project Wrong_Project is
for Excluded_Source_Files use ("second.ads");

package Naming is
for Spec ("To_Be_Called") use "third.ads";
end Naming;
Expand Down

0 comments on commit 0c4ec4f

Please sign in to comment.