summaryrefslogtreecommitdiff
path: root/server/test/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-13 18:21:38 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-13 18:21:38 +0800
commitfeba963bee80199f155d7312d1416c02080f07f0 (patch)
tree3e3b43024d977467e70766214923019b85fa1974 /server/test/hover
parentbd54db4d15cfb1cc4f46936dcdaeec98d926bb27 (diff)
downloadlua-language-server-feba963bee80199f155d7312d1416c02080f07f0.zip
去掉field类型
Diffstat (limited to 'server/test/hover')
-rw-r--r--server/test/hover/init.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index 94730770..e4c7b65b 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -84,24 +84,24 @@ obj.<?xxx?>()
TEST [[
local <?x?> = 1
]]
-"local: number"
+"number"
TEST [[
<?x?> = 1
]]
-"global: number"
+"number"
TEST [[
local t = {}
t.<?x?> = 1
]]
-"local field: number"
+"number"
TEST [[
t = {}
t.<?x?> = 1
]]
-"global field: number"
+"number"
TEST [[
local mt = {}
@@ -109,7 +109,7 @@ mt.__name = 'class'
local <?obj?> = setmetatable({}, mt)
]]
-"local: *class"
+"*class"
TEST [[
local mt = {}
@@ -118,7 +118,7 @@ mt.__index = mt
local <?obj?> = setmetatable({}, mt)
]]
-"local: *class"
+"*class"
TEST [[
local mt = {}
@@ -127,7 +127,7 @@ mt.__index = mt
local <?obj?> = setmetatable({}, mt)
]]
-"local: *class"
+"*class"
TEST [[
local mt = {}
@@ -136,7 +136,7 @@ mt.__index = mt
local <?obj?> = setmetatable({}, mt)
]]
-"local: *class"
+"*class"
TEST[[
local fs = require 'bee.filesystem'