summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-11 18:06:37 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-11 18:06:37 +0800
commit650af818eb185d3261648cac615e9f8ce99b0d50 (patch)
tree6ac471172f63b6fe9acba8f09222fb6973b26589 /test
parente66956e016a2f9ab635d00a9cb8b2d4bb99bc3a2 (diff)
downloadlua-language-server-650af818eb185d3261648cac615e9f8ce99b0d50.zip
update
Diffstat (limited to 'test')
-rw-r--r--test/full/self.lua10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/full/self.lua b/test/full/self.lua
index 7b5f04f4..5b1b2514 100644
--- a/test/full/self.lua
+++ b/test/full/self.lua
@@ -1,8 +1,9 @@
-local files = require 'files'
-local fsu = require 'fs-utility'
-local furi = require 'file-uri'
-local diag = require 'provider.diagnostic'
+local files = require 'files'
+local fsu = require 'fs-utility'
+local furi = require 'file-uri'
+local diag = require 'provider.diagnostic'
local config = require 'config'
+local ws = require 'workspace'
files.removeAll()
fsu.scanDirectory(ROOT, function (path)
@@ -15,6 +16,7 @@ fsu.scanDirectory(ROOT, function (path)
files.open(uri)
end)
+ws.ready = true
diag.start()
local clock = os.clock()