File tree Expand file tree Collapse file tree 1 file changed +54
-3
lines changed
testsuite/ada_lsp/refactoring_add_parameter/S314-015 Expand file tree Collapse file tree 1 file changed +54
-3
lines changed Original file line number Diff line number Diff line change 205205 "request" : {
206206 "jsonrpc" : " 2.0" ,
207207 "id" : 2 ,
208+ "method" : " $/alsCheckSyntax" ,
209+ "params" : {
210+ "input" : " " ,
211+ "rules" : [
212+ " Defining_Id_Rule" ,
213+ " Defining_Id_List_Rule" ,
214+ " Param_Spec_Rule"
215+ ]
216+ }
217+ },
218+ "wait" : [
219+ {
220+ "jsonrpc" : " 2.0" ,
221+ "id" : 2 ,
222+ "result" : {
223+ "diagnostic" : " Invalid Syntax"
224+ }
225+ }
226+ ]
227+ }
228+ },
229+ {
230+ "send" : {
231+ "request" : {
232+ "jsonrpc" : " 2.0" ,
233+ "id" : 3 ,
234+ "method" : " $/alsCheckSyntax" ,
235+ "params" : {
236+ "input" : " B, C" ,
237+ "rules" : [
238+ " Defining_Id_Rule" ,
239+ " Defining_Id_List_Rule" ,
240+ " Param_Spec_Rule"
241+ ]
242+ }
243+ },
244+ "wait" : [
245+ {
246+ "jsonrpc" : " 2.0" ,
247+ "id" : 3 ,
248+ "result" : {
249+ }
250+ }
251+ ]
252+ }
253+ },
254+ {
255+ "send" : {
256+ "request" : {
257+ "jsonrpc" : " 2.0" ,
258+ "id" : 4 ,
208259 "method" : " workspace/executeCommand" ,
209260 "params" : {
210261 "command" : " als-refactor-add-parameters" ,
270321 "send" : {
271322 "request" : {
272323 "jsonrpc" : " 2.0" ,
273- "id" : 19 ,
324+ "id" : 5 ,
274325 "method" : " textDocument/codeAction" ,
275326 "params" : {
276327 "textDocument" : {
294345 "wait" : [
295346 {
296347 "jsonrpc" : " 2.0" ,
297- "id" : 19 ,
348+ "id" : 5 ,
298349 "result" : [
299350 " <HAS>" ,
300351 {
334385 "send" : {
335386 "request" : {
336387 "jsonrpc" : " 2.0" ,
337- "id" : 22 ,
388+ "id" : 6 ,
338389 "method" : " shutdown"
339390 },
340391 "wait" : []
You can’t perform that action at this time.
0 commit comments