summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-22 16:44:38 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-22 16:44:38 +0800
commit6f4cf8d4f2551672e3bc0fe472445485c3acbe3f (patch)
tree7865be2f1f6cc527c2db986295d697d0969075af /server/test
parent5df9959be4a51ab567743b72753f15a24b8f7ef6 (diff)
downloadlua-language-server-6f4cf8d4f2551672e3bc0fe472445485c3acbe3f.zip
删除文件后清空缓存
Diffstat (limited to 'server/test')
-rw-r--r--server/test/diagnostics/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua
index 5fb34908..d3e3d0e8 100644
--- a/server/test/diagnostics/init.lua
+++ b/server/test/diagnostics/init.lua
@@ -150,3 +150,9 @@ function mt:m()
end
end
]]
+
+TEST [[
+local function f(<!self!>)
+end
+f()
+]]