summaryrefslogtreecommitdiff
path: root/server/test/hover/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-13 18:18:27 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-13 18:18:27 +0800
commitbd54db4d15cfb1cc4f46936dcdaeec98d926bb27 (patch)
treefe2ec2383bc75823702074a56320b00f277f378f /server/test/hover/init.lua
parent1d18e5e3035f954e4aec43aaab05be5f25068cf8 (diff)
downloadlua-language-server-bd54db4d15cfb1cc4f46936dcdaeec98d926bb27.zip
库对象显示对象名
Diffstat (limited to 'server/test/hover/init.lua')
-rw-r--r--server/test/hover/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index 8c4e916d..94730770 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -137,3 +137,9 @@ mt.__index = mt
local <?obj?> = setmetatable({}, mt)
]]
"local: *class"
+
+TEST[[
+local fs = require 'bee.filesystem'
+local <?root?> = fs.current_path()
+]]
+"*bee::filesystem"