summaryrefslogtreecommitdiff
path: root/test/type_inference/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/type_inference/init.lua')
-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 1d52ecc8..6aefd1f4 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -748,25 +748,25 @@ TEST 'function' [[
string.gsub():gsub():<?gsub?>()
]]
-config.Lua.hover.enumsLimit = 5
+config.set('Lua.hover.enumsLimit', 5)
TEST 'a|b|c|d|e...(+5)' [[
---@type 'a'|'b'|'c'|'d'|'e'|'f'|'g'|'h'|'i'|'j'
local <?t?>
]]
-config.Lua.hover.enumsLimit = 1
+config.set('Lua.hover.enumsLimit', 1)
TEST 'a...(+9)' [[
---@type 'a'|'b'|'c'|'d'|'e'|'f'|'g'|'h'|'i'|'j'
local <?t?>
]]
-config.Lua.hover.enumsLimit = 0
+config.set('Lua.hover.enumsLimit', 0)
TEST '...(+10)' [[
---@type 'a'|'b'|'c'|'d'|'e'|'f'|'g'|'h'|'i'|'j'
local <?t?>
]]
-config.Lua.hover.enumsLimit = 5
+config.set('Lua.hover.enumsLimit', 5)
TEST 'string|fun():string' [[
---@type string | fun(): string