summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-21 21:53:14 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-21 21:53:14 +0800
commitf5f6fe9bb257f4ef0ea271a76e7d4300651e2e90 (patch)
tree237a27c63bbc755ef9a68455992e766ac352ef1d
parent2224629ac85cbb74aa7306adb9b441e95e580a33 (diff)
downloadlua-language-server-f5f6fe9bb257f4ef0ea271a76e7d4300651e2e90.zip
打开文件大纲的测试
-rw-r--r--test-beta.lua2
-rw-r--r--test-beta/document_symbol/init.lua11
2 files changed, 1 insertions, 12 deletions
diff --git a/test-beta.lua b/test-beta.lua
index af6d3713..d975832b 100644
--- a/test-beta.lua
+++ b/test-beta.lua
@@ -46,7 +46,7 @@ local function main()
test 'hover'
test 'completion'
test 'signature'
- --test 'document_symbol'
+ test 'document_symbol'
test 'crossfile'
test 'full'
--test 'other'
diff --git a/test-beta/document_symbol/init.lua b/test-beta/document_symbol/init.lua
index f677d857..1abe4913 100644
--- a/test-beta/document_symbol/init.lua
+++ b/test-beta/document_symbol/init.lua
@@ -465,14 +465,3 @@ local function
valueRange = {9, 22},
}
}
-
--- 临时
-local fs = require 'bee.filesystem'
-local function testIfExit(path)
- local buf = io.load(fs.path(path))
- if buf then
- TEST(buf)(EXISTS)
- end
-end
-testIfExit[[D:\Github\lua\testes\coroutine.lua]]
-testIfExit[[D:\Github\War3-lua-map\scripts\game\init.lua]]