From 716091ac3646d57af28a106d4a3b15cf3b849544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 18 Jan 2022 15:16:49 +0800 Subject: pass tests --- test.lua | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'test.lua') 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 -- cgit v1.2.3