From d4ae212a31a29ab3a9ca6d0a473ff5d33c438124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 16 Nov 2021 16:08:15 +0800 Subject: cleanup --- test/definition/bug.lua | 4 ++-- test/hover/init.lua | 8 ++++---- test/type_inference/init.lua | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'test') diff --git a/test/definition/bug.lua b/test/definition/bug.lua index d9f85899..7a2cc789 100644 --- a/test/definition/bug.lua +++ b/test/definition/bug.lua @@ -172,7 +172,7 @@ string.xx:() --v. --]] -config.set('Lua.IntelliSense.localSet', true) +config.set('Lua.IntelliSense.traceLocalSet', true) TEST [[ local A, B @@ -232,7 +232,7 @@ end local = B:get() print() ]] -config.set('Lua.IntelliSense.localSet', false) +config.set('Lua.IntelliSense.traceLocalSet', false) TEST [[ g[a.b.c] = 1 diff --git a/test/hover/init.lua b/test/hover/init.lua index 5d275091..15bf60d4 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -838,7 +838,7 @@ local t: { } ]] -config.set('Lua.IntelliSense.localSet', true) +config.set('Lua.IntelliSense.traceLocalSet', true) TEST [[ local x x = 1 @@ -849,7 +849,7 @@ print() [[ local x: number = 1 ]] -config.set('Lua.IntelliSense.localSet', false) +config.set('Lua.IntelliSense.traceLocalSet', false) TEST [[ local = 1 @@ -1730,7 +1730,7 @@ t.() field t.x: any ]] -config.set('Lua.IntelliSense.localSet', true) +config.set('Lua.IntelliSense.traceLocalSet', true) TEST [[ ---@class A local a @@ -1743,7 +1743,7 @@ print(b.) [[ field A.x: any ]] -config.set('Lua.IntelliSense.localSet', false) +config.set('Lua.IntelliSense.traceLocalSet', false) TEST [[ ---@class A 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. = var ]] -config.set('Lua.IntelliSense.localSet', true) +config.set('Lua.IntelliSense.traceLocalSet', true) TEST 'string' [[ local var = '111' @@ -68,7 +68,7 @@ local var var = '111' print() ]] -config.set('Lua.IntelliSense.localSet', false) +config.set('Lua.IntelliSense.traceLocalSet', false) TEST 'function' [[ function () @@ -80,13 +80,13 @@ local function () end ]] -config.set('Lua.IntelliSense.localSet', true) +config.set('Lua.IntelliSense.traceLocalSet', true) TEST 'function' [[ local xx = function () end ]] -config.set('Lua.IntelliSense.localSet', false) +config.set('Lua.IntelliSense.traceLocalSet', false) TEST 'table' [[ local = {} -- cgit v1.2.3