summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-08-28 20:21:40 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-08-28 20:21:40 +0800
commitdde373ef456556d04b3a542c2c254e0aa3d289eb (patch)
treefbd4a357aed7205504ef3404c98028f5a774d577 /server
parent21d6c1161052c8fca442b7154224c3795e5953e6 (diff)
downloadlua-language-server-dde373ef456556d04b3a542c2c254e0aa3d289eb.zip
测试5
Diffstat (limited to 'server')
-rw-r--r--server/test.lua2
-rw-r--r--server/test/main.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/test.lua b/server/test.lua
index d6fd9f48..a944c8f0 100644
--- a/server/test.lua
+++ b/server/test.lua
@@ -7,7 +7,7 @@ package.cpath = rootPath .. 'bin/?.so'
.. ';' .. rootPath .. 'bin/?.dll'
package.path = rootPath .. 'src/?.lua'
.. ';' .. rootPath .. 'src/?/init.lua'
-error '测试'
+
local fs = require 'bee.filesystem'
local subprocess = require 'bee.subprocess'
ROOT = fs.absolute(fs.path(rootPath))
diff --git a/server/test/main.lua b/server/test/main.lua
index a7152883..85885783 100644
--- a/server/test/main.lua
+++ b/server/test/main.lua
@@ -12,7 +12,7 @@ log = require 'log'
log.init(ROOT, ROOT / 'log' / 'test.log')
log.debug('测试开始')
ac = {}
-
+error '测试'
require 'utility'
require 'global_protect'
require 'build_package'