From dde373ef456556d04b3a542c2c254e0aa3d289eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 28 Aug 2019 20:21:40 +0800 Subject: =?UTF-8?q?=E6=B5=8B=E8=AF=955?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/test.lua | 2 +- server/test/main.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server') 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' -- cgit v1.2.3