summaryrefslogtreecommitdiff
path: root/test/type_inference/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-05-25 19:43:01 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-05-25 19:43:01 +0800
commitce158c82b0de9f7dd700ed4eabea6e9e26f491da (patch)
tree13ad06ca3320ab3cd2ae89b2ed3d407bed457c75 /test/type_inference/init.lua
parent123d904a16f49764f36cabef97c2be0f2acca34c (diff)
downloadlua-language-server-ce158c82b0de9f7dd700ed4eabea6e9e26f491da.zip
cleanup
Diffstat (limited to 'test/type_inference/init.lua')
-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 602f97be..4c8817f2 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -30,9 +30,9 @@ function TEST(wanted)
files.setText('', newScript)
local source = getSource(pos)
assert(source)
- local result = infer.searchAndViewInfers(source, 0)
+ local result = infer.searchAndViewInfers(source)
if wanted ~= result then
- infer.searchAndViewInfers(source, 0)
+ infer.searchAndViewInfers(source)
end
assert(wanted == result)
end