summaryrefslogtreecommitdiff
path: root/test-beta/completion/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-08 19:41:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-08 19:41:53 +0800
commitd0814be33882cbe3c56da13dc114f12a53c62057 (patch)
tree80a5ecd43957dd49fcc538b85ebf420be7080268 /test-beta/completion/init.lua
parent7eddd5d42c40959390c052683cf17a3c4cbd5151 (diff)
downloadlua-language-server-d0814be33882cbe3c56da13dc114f12a53c62057.zip
修正一些bug
Diffstat (limited to 'test-beta/completion/init.lua')
-rw-r--r--test-beta/completion/init.lua17
1 files changed, 14 insertions, 3 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua
index f01a810e..a5f4868e 100644
--- a/test-beta/completion/init.lua
+++ b/test-beta/completion/init.lua
@@ -298,6 +298,17 @@ while true d$
}
TEST [[
+results$
+]]
+(nil)
+
+TEST [[
+results$
+local results
+]]
+(EXISTS)
+
+TEST [[
t.a = {}
t.b = {}
t.$
@@ -574,9 +585,6 @@ io.open('', $)
]]
(EXISTS)
--- TODO
-do return end
-
TEST [[
local function f(a, $)
end
@@ -598,6 +606,9 @@ self.results.list[#$]
},
}
+-- TODO
+do return end
+
TEST [[
self.results.list[#self.re$]
]]