Skip to content

Commit 29d470d

Browse files
U617-025: Choose other completion result for test robustness
1 parent 753d5f6 commit 29d470d

File tree

1 file changed

+17
-16
lines changed
  • testsuite/ada_lsp/completion.invisible.runtime

1 file changed

+17
-16
lines changed

testsuite/ada_lsp/completion.invisible.runtime/test.json

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
}
163163
}
164164
},
165-
"waitFactor": "4000",
165+
"waitFactor": "40",
166166
"wait": [
167167
{
168168
"jsonrpc": "2.0",
@@ -212,21 +212,22 @@
212212
},
213213
"wait": [
214214
{
215-
"id": 6,
216-
"result": {
217-
"isIncomplete": true,
218-
"items": ["<HAS>",
219-
{
220-
"label": "Text_IO (invisible)",
221-
"kind": 9,
222-
"detail": "package Ada.Text_IO with\n Abstract_State => (File_System),\n Initializes => (File_System),\n Initial_Condition => Line_Length = 0 and Page_Length = 0\n",
223-
"documentation": "at a-textio.ads (58:1)\n\nPreconditions in this unit are meant for analysis only, not for run-time\nchecking, so that the expected exceptions are raised. This is enforced by\nsetting the corresponding assertion policy to Ignore. These preconditions\nare partial. They protect fully against Status_Error and Mode_Error,\npartially against Layout_Error (see SPARK User's Guide for details), and\nnot against other types of errors.",
224-
"sortText": "~Text_IO",
225-
"filterText": "Text_IO",
226-
"insertText": "Text_IO",
227-
"additionalTextEdits": []
228-
}
229-
]
215+
"id": 6,
216+
"result": {
217+
"isIncomplete": true,
218+
"items": ["<HAS>",
219+
{
220+
"label": "Short_Float_Text_IO (invisible)",
221+
"kind": 9,
222+
"detail": "package Ada.Short_Float_Text_IO is\nnew Ada.Text_IO.Float_IO (Short_Float);",
223+
"documentation": "at a-sfteio.ads (18:1)",
224+
"sortText": "~Short_Float_Text_IO",
225+
"filterText": "Short_Float_Text_IO",
226+
"insertText": "Short_Float_Text_IO",
227+
"additionalTextEdits": [
228+
]
229+
}
230+
]
230231
}
231232
}
232233
]

0 commit comments

Comments
 (0)