summaryrefslogtreecommitdiff
path: root/test/references/common.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/references/common.lua')
-rw-r--r--test/references/common.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/references/common.lua b/test/references/common.lua
index 20ddd353..b46aa81f 100644
--- a/test/references/common.lua
+++ b/test/references/common.lua
@@ -96,7 +96,7 @@ t.x = 1
t[a.b.<?x?>] = 1
]]
-config.set('Lua.IntelliSense.traceBeSetted', true)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', true)
TEST [[
local t
local <!f!> = t.<?f?>
@@ -107,7 +107,7 @@ return {
<!f!> = <!f!>,
}
]]
-config.set('Lua.IntelliSense.traceBeSetted', false)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', false)
TEST [[
self = {
@@ -142,7 +142,7 @@ a.<!b!>.c = 1
print(a.<?b?>.c)
]]
-config.set('Lua.IntelliSense.traceBeSetted', true)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', true)
TEST [[
local <?f?>
local t = {
@@ -150,14 +150,14 @@ local t = {
}
print(t.<!a!>)
]]
-config.set('Lua.IntelliSense.traceBeSetted', false)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', false)
TEST [[
local <!f!>
local <!t!> = <?f?>
]]
-config.set('Lua.IntelliSense.traceBeSetted', true)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', true)
TEST [[
local <!f!>
a.<!t!> = <?f?>
@@ -166,19 +166,19 @@ a.<!t!> = <?f?>
TEST [[
<!t!>.<!f!> = <?t?>
]]
-config.set('Lua.IntelliSense.traceBeSetted', false)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', false)
TEST [[
local <!f!>
local <?t?> = <!f!>
]]
-config.set('Lua.IntelliSense.traceBeSetted', true)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', true)
TEST [[
local <!t!>
<!t!>.<!f!> = <?t?>
]]
-config.set('Lua.IntelliSense.traceBeSetted', false)
+config.set(nil, 'Lua.IntelliSense.traceBeSetted', false)
TEST [[
_G.<?xxx?> = 1