diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-08-28 20:13:37 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-08-28 20:13:37 +0800 |
commit | a81ac792c149878dc5126dcf111741c9181d9657 (patch) | |
tree | f8581caa9524c8923a9e16778da43d2d2c723b8e /make | |
parent | ecb7a8362dbc4270371b732fde40de548ad7d100 (diff) | |
download | lua-language-server-a81ac792c149878dc5126dcf111741c9181d9657.zip |
测试3
Diffstat (limited to 'make')
-rw-r--r-- | make/unittest.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make/unittest.lua b/make/unittest.lua index 1c0daba5..d2644725 100644 --- a/make/unittest.lua +++ b/make/unittest.lua @@ -2,8 +2,6 @@ local platform = ... local fs = require 'bee.filesystem' local sp = require 'bee.subprocess' local exe = platform == 'msvc' and ".exe" or "" - -error('测试') local CWD = fs.current_path() local process = assert(sp.spawn { @@ -16,7 +14,9 @@ local process = assert(sp.spawn { for line in process.stdout:lines 'l' do print(line) + error(line) end +error('测试') process:wait() local err = process.stderr:read 'a' if err ~= '' then |