summaryrefslogtreecommitdiff
path: root/test/type_inference
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-16 16:08:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-18 17:10:46 +0800
commit33edcc5b465fdb7bd161852114f2b8eb95936fb2 (patch)
tree0bde7544d62ddf505762659683410384c00a20c8 /test/type_inference
parentab66ba1271153ae9113749ac12aa59f01dd51f48 (diff)
downloadlua-language-server-33edcc5b465fdb7bd161852114f2b8eb95936fb2.zip
cleanup
Diffstat (limited to 'test/type_inference')
-rw-r--r--test/type_inference/init.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 96da94aa..e071fdf7 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -57,7 +57,7 @@ local var = '111'
t.<?x?> = var
]]
-config.set('Lua.IntelliSense.localSet', true)
+config.set('Lua.IntelliSense.traceLocalSet', true)
TEST 'string' [[
local <?var?>
var = '111'
@@ -68,7 +68,7 @@ local var
var = '111'
print(<?var?>)
]]
-config.set('Lua.IntelliSense.localSet', false)
+config.set('Lua.IntelliSense.traceLocalSet', false)
TEST 'function' [[
function <?xx?>()
@@ -80,13 +80,13 @@ local function <?xx?>()
end
]]
-config.set('Lua.IntelliSense.localSet', true)
+config.set('Lua.IntelliSense.traceLocalSet', true)
TEST 'function' [[
local xx
<?xx?> = function ()
end
]]
-config.set('Lua.IntelliSense.localSet', false)
+config.set('Lua.IntelliSense.traceLocalSet', false)
TEST 'table' [[
local <?t?> = {}