summaryrefslogtreecommitdiff
path: root/test/crossfile/completion.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/crossfile/completion.lua')
-rw-r--r--test/crossfile/completion.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/crossfile/completion.lua b/test/crossfile/completion.lua
index ab017716..14744430 100644
--- a/test/crossfile/completion.lua
+++ b/test/crossfile/completion.lua
@@ -64,9 +64,7 @@ end
function TEST(data)
local lsp = service()
- local ws = workspace(lsp, 'test')
- lsp.workspace = ws
- ws.root = ROOT
+ local ws = lsp:addWorkspace('test', uric.encode(ROOT))
local mainUri
local mainBuf