diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/crossfile/allreferences.lua | 4 | ||||
-rw-r--r-- | test/rename/init.lua | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/crossfile/allreferences.lua b/test/crossfile/allreferences.lua index bddc159d..6c7febeb 100644 --- a/test/crossfile/allreferences.lua +++ b/test/crossfile/allreferences.lua @@ -1,3 +1,4 @@ +local config = require 'config' TEST { { @@ -67,6 +68,7 @@ TEST { }, } +config.set('Lua.IntelliSense.traceBeSetted', true) TEST { { path = 'a.lua', @@ -213,3 +215,5 @@ TEST { ]] }, } +config.set('Lua.IntelliSense.traceBeSetted', false) + 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" ]) |