File tree 1 file changed +0
-3
lines changed
testsuite/ada_lsp/config_base
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -67,18 +67,15 @@ async def test1(lsp: ALSLanguageClient) -> None:
67
67
)
68
68
# Because no project file was set, we need a didOpen to load the project
69
69
lsp .didOpenVirtual ()
70
- await lsp .awaitIndexingEnd ()
71
70
assertEqual (await lsp .getObjDirBasename (), "value-from-init" )
72
71
73
72
# Now let's change the settings
74
73
lsp .didChangeConfig ({"scenarioVariables" : {"Var" : "new-value" }})
75
- await lsp .awaitIndexingEnd ()
76
74
assertEqual (await lsp .getObjDirBasename (), "new-value" )
77
75
78
76
# Now we send a null value to revert to the base config which should be the config
79
77
# file, not the initialize request.
80
78
lsp .didChangeConfig ({"scenarioVariables" : None })
81
- await lsp .awaitIndexingEnd ()
82
79
assertEqual (await lsp .getObjDirBasename (), "value-from-config-file" )
83
80
84
81
You can’t perform that action at this time.
0 commit comments