summaryrefslogtreecommitdiff
path: root/test/type_inference
diff options
context:
space:
mode:
Diffstat (limited to 'test/type_inference')
-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