summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2022-03-11 22:09:42 +0800
committersumneko <sumneko@hotmail.com>2022-03-11 22:09:42 +0800
commit0cd41e39f4439a442ef8d7b55e79549f48591034 (patch)
treee5d14c8eab149b9e64ecc6007cdde23ae5adb81a /test
parente665f6f914eec9e3beca165f1ad7ff432573c740 (diff)
downloadlua-language-server-0cd41e39f4439a442ef8d7b55e79549f48591034.zip
update
Diffstat (limited to 'test')
-rw-r--r--test/type_inference/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index f62ca013..a4638468 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -980,13 +980,13 @@ string.gsub():gsub():<?gsub?>()
]]
config.set(nil, 'Lua.hover.enumsLimit', 5)
-TEST 'a|b|c|d|e...(+5)' [[
+TEST '"a"|"b"|"c"|"d"|"e"...(+5)' [[
---@type 'a'|'b'|'c'|'d'|'e'|'f'|'g'|'h'|'i'|'j'
local <?t?>
]]
config.set(nil, 'Lua.hover.enumsLimit', 1)
-TEST 'a...(+9)' [[
+TEST '"a"...(+9)' [[
---@type 'a'|'b'|'c'|'d'|'e'|'f'|'g'|'h'|'i'|'j'
local <?t?>
]]