Skip to content

Commit fc62531

Browse files
committed
Fix project files in tests.
For #317.
1 parent a0d2fa1 commit fc62531

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

testsuite/ada_lsp/project_config/project_config_2.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,17 @@
7373
}
7474
}
7575
},
76-
"comment": "NOTE: we are loading an invalid project which has two files containing the same compilation unit: the behavior is undetermined.",
7776
"wait":[{
7877
"id": "defname-1",
7978
"result":{
80-
"uri": "$URI{second.ads}",
79+
"uri": "$URI{third.ads}",
8180
"range": {
8281
"start": {
83-
"line": 0,
82+
"line": 3,
8483
"character": 10
8584
},
8685
"end": {
87-
"line": 0,
86+
"line": 3,
8887
"character": 22
8988
}
9089
}

testsuite/ada_lsp/project_config/right_project.gpr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
project Right_Project is
2+
for Excluded_Source_Files use ("third.ads");
3+
24
package Naming is
35
for Spec ("To_Be_Called") use "second.ads";
46
end Naming;

testsuite/ada_lsp/project_config/wrong_project.gpr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
project Wrong_Project is
2+
for Excluded_Source_Files use ("second.ads");
3+
24
package Naming is
35
for Spec ("To_Be_Called") use "third.ads";
46
end Naming;

0 commit comments

Comments
 (0)