summaryrefslogtreecommitdiff
path: root/test/crossfile/definition.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/crossfile/definition.lua')
-rw-r--r--test/crossfile/definition.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/crossfile/definition.lua b/test/crossfile/definition.lua
index 02209609..c59e5999 100644
--- a/test/crossfile/definition.lua
+++ b/test/crossfile/definition.lua
@@ -44,8 +44,7 @@ end
function TEST(datas)
local lsp = service()
- local ws = workspace(lsp, 'test')
- lsp.workspace = ws
+ local ws = lsp:addWorkspace('test', uric.encode(ROOT))
local compiled = {}
local targetList = {}