diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-01 20:00:22 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-01 20:00:22 +0800 |
commit | 71e3ff51d3fb21f3e78a3948809ce4ae92613de2 (patch) | |
tree | 936752e4377a48281cd4b1752b53bcda1352d0bb /test/type_inference/init.lua | |
parent | 8077e3e08f2dd799ef9b5335005f1bf85d6340cd (diff) | |
download | lua-language-server-71e3ff51d3fb21f3e78a3948809ce4ae92613de2.zip |
cleanup
Diffstat (limited to 'test/type_inference/init.lua')
-rw-r--r-- | test/type_inference/init.lua | 8 |
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 |