summaryrefslogtreecommitdiff
path: root/test/crossfile/references.lua
diff options
context:
space:
mode:
authorRuin0x11 <ipickering2@gmail.com>2020-05-25 19:16:45 -0700
committerRuin0x11 <ipickering2@gmail.com>2020-05-25 19:25:36 -0700
commit9dc816f99f4a4329a3daff55a7199a8265a00c2c (patch)
treed400a9cb6f1a897913ff9fe56d7d0e83c45c078b /test/crossfile/references.lua
parent0583236680b16588c52c7c98ac5a3f8a7071b868 (diff)
downloadlua-language-server-9dc816f99f4a4329a3daff55a7199a8265a00c2c.zip
Support multiple workspace folders
Diffstat (limited to 'test/crossfile/references.lua')
-rw-r--r--test/crossfile/references.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/crossfile/references.lua b/test/crossfile/references.lua
index 87577770..0c594354 100644
--- a/test/crossfile/references.lua
+++ b/test/crossfile/references.lua
@@ -72,9 +72,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 pos