summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-08-28 23:24:57 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-08-28 23:24:57 +0800
commit139eb14a3a85ec6d6177904c1f98bbc2ba804ac8 (patch)
treec52362503cc7db583e5fd3746d15e9039889c614 /server
parent3de810b7bf7bb3c71175e04256effff036ae7897 (diff)
downloadlua-language-server-139eb14a3a85ec6d6177904c1f98bbc2ba804ac8.zip
过测试
Diffstat (limited to 'server')
-rw-r--r--server/test.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/test.lua b/server/test.lua
index b6ff2c7c..aeeebd86 100644
--- a/server/test.lua
+++ b/server/test.lua
@@ -4,6 +4,9 @@ if rootPath == '' then
rootPath = './'
end
dofile(rootPath .. 'platform.lua')
+package.path = package.path
+ .. ';' .. rootPath .. 'test/?.lua'
+ .. ';' .. rootPath .. 'test/?/init.lua'
local fs = require 'bee.filesystem'
ROOT = fs.absolute(fs.path(rootPath):parent_path())
LANG = 'en-US'