summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-24 11:50:03 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-24 11:50:03 +0800
commit7bfb8412822c96bddc375d1ca62810010c74c1a3 (patch)
tree312d7a4ee46f41f373f1b7e41903d9cdef8c8646 /test
parent6467232bd9e5099be378b7a17bd183ef810c0d2d (diff)
downloadlua-language-server-7bfb8412822c96bddc375d1ca62810010c74c1a3.zip
deep level
Diffstat (limited to 'test')
-rw-r--r--test/crossfile/definition.lua4
-rw-r--r--test/type_inference/init.lua2
2 files changed, 1 insertions, 5 deletions
diff --git a/test/crossfile/definition.lua b/test/crossfile/definition.lua
index 5bc99a19..839a3e89 100644
--- a/test/crossfile/definition.lua
+++ b/test/crossfile/definition.lua
@@ -559,8 +559,6 @@ TEST {
},
}
-config.config.intelliSense.searchDepth = 0
-
TEST {
{
path = 'a.lua',
@@ -582,8 +580,6 @@ TEST {
},
}
-config.config.intelliSense.searchDepth = 5
-
TEST {
{
path = 'a.lua',
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 1b610bb3..40831c07 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -30,7 +30,7 @@ function TEST(wanted)
files.setText('', newScript)
local source = getSource(pos)
assert(source)
- local result = vm.getInferType(source, 'deep')
+ local result = vm.getInferType(source, 0)
assert(wanted == result)
end
end