diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-11 20:22:05 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-11 20:22:05 +0800 |
commit | e8858e236690b579097ac095049bce4634182d25 (patch) | |
tree | 4273345af97506832050cc45207d385885f8ba5e /server/test | |
parent | 33bf4c53397253fa3ce643e88fcdd05faf005617 (diff) | |
download | lua-language-server-e8858e236690b579097ac095049bce4634182d25.zip |
删除无用代码
Diffstat (limited to 'server/test')
-rw-r--r-- | server/test/compile/init.lua | 22 | ||||
-rw-r--r-- | server/test/main.lua | 1 |
2 files changed, 0 insertions, 23 deletions
diff --git a/server/test/compile/init.lua b/server/test/compile/init.lua deleted file mode 100644 index 265388d2..00000000 --- a/server/test/compile/init.lua +++ /dev/null @@ -1,22 +0,0 @@ -local parser = require 'parser' -local matcher = require 'matcher' - -rawset(_G, 'TEST', true) - -function TEST(buf) - local ast = parser:ast(buf) - assert(ast) - local results = matcher.compile(ast) - assert(results) -end - -TEST [[ -obj.lines: - -self._needDiagnostics[uri] = { - ast = ast, - results = obj.results, - lines = obj.lines, - uri = uri, -} -]] diff --git a/server/test/main.lua b/server/test/main.lua index c5f57ced..9e619b70 100644 --- a/server/test/main.lua +++ b/server/test/main.lua @@ -24,7 +24,6 @@ local function main() end test 'vm' - test 'compile' --test 'type_inference' test 'definition' --test 'find_lib' |