summaryrefslogtreecommitdiff
path: root/test/rename/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/rename/init.lua')
-rw-r--r--test/rename/init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rename/init.lua b/test/rename/init.lua
index 01abe167..774c86d2 100644
--- a/test/rename/init.lua
+++ b/test/rename/init.lua
@@ -2,6 +2,7 @@ local core = require 'core.rename'
local files = require 'files'
local catch = require 'catch'
local guide = require 'parser.guide'
+local config = require 'config'
local function replace(text, positions)
local state = files.getState('')
@@ -89,6 +90,7 @@ local function f(b)
end
]]
+config.set('Lua.IntelliSense.traceBeSetted', true)
TEST ('a', '!!!') [[
t = {
a = 0
@@ -116,6 +118,7 @@ t = {
t["!!!"] = 1
a = t["!!!"]
]]
+config.set('Lua.IntelliSense.traceBeSetted', false)
TEST ('a', '"') [[
print(t[ "a" ])