summaryrefslogtreecommitdiff
path: root/test.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-01-18 15:16:49 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-01-18 15:16:49 +0800
commit716091ac3646d57af28a106d4a3b15cf3b849544 (patch)
tree36db3a63629e880980cd4b2dff7c2f6a7bc53066 /test.lua
parent2f984c1a2baf162f72240ca7b7f3f530459a71f4 (diff)
downloadlua-language-server-716091ac3646d57af28a106d4a3b15cf3b849544.zip
pass tests
Diffstat (limited to 'test.lua')
-rw-r--r--test.lua13
1 files changed, 7 insertions, 6 deletions
diff --git a/test.lua b/test.lua
index 3acab926..61b5d766 100644
--- a/test.lua
+++ b/test.lua
@@ -82,17 +82,18 @@ end
local function main()
require 'utility'.enableCloseFunction()
- require 'core.searcher'.debugMode = true
- require 'language' 'zh-cn'
require 'library'.init()
- loadDocMetas()
- --test 'tclient'
+ test 'tclient'
--config.Lua.intelliSense.searchDepth = 5
--loadDocMetas()
--test 'full';do return end
-
+ require 'workspace.workspace'.reset()
+ require 'files'.reset()
+ require 'workspace.scope'.reset()
+ require 'language' 'zh-cn'
+ loadDocMetas()
require 'bee.platform'.OS = 'Windows'
testAll()
require 'bee.platform'.OS = 'Linux'
@@ -102,7 +103,7 @@ local function main()
--test 'tclient'
- --test 'full'
+ test 'full'
print('测试完成')
end