summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-03-10 17:12:49 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-03-10 17:12:49 +0800
commit2178706a33e6f15a8cea567c352d9a567c38abb9 (patch)
tree36bad9d0e3f3ff6feb03ca2266060dcd89f94b1e /test
parent75df2fd38fe75e951ea80b5f1abae8772437ae04 (diff)
downloadlua-language-server-2178706a33e6f15a8cea567c352d9a567c38abb9.zip
update
Diffstat (limited to 'test')
-rw-r--r--test/type_inference/init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 5e47503f..19506775 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -244,7 +244,7 @@ end
<?y?> = x()
]]
-TEST 'integer' [[
+TEST 'integer|nil' [[
local function x()
return 1
return nil
@@ -252,7 +252,7 @@ end
<?y?> = x()
]]
-TEST 'any' [[
+TEST 'unknown|nil' [[
local function x()
return a
return nil
@@ -260,7 +260,7 @@ end
<?y?> = x()
]]
-TEST 'any' [[
+TEST 'unknown|nil' [[
local function x()
return nil
return f()