diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-03-31 23:00:02 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-03-31 23:00:02 +0800 |
commit | c1ca4d8af0cefd6222b76f83341774857cef44ec (patch) | |
tree | 135a6c44cee6e253a20dd33c78e5c85db3eb6495 /test | |
parent | 3e516dd717440cad6fce8731a2b627abc6335bbb (diff) | |
download | lua-language-server-c1ca4d8af0cefd6222b76f83341774857cef44ec.zip |
cleanup
Diffstat (limited to 'test')
-rw-r--r-- | test/type_inference/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index e687afe1..1a2c4593 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -31,9 +31,9 @@ function TEST(wanted) files.setText('', newScript) local source = getSource(catched['?'][1][1]) assert(source) - local result = infer.viewType(source) + local result = infer.getInfer(source):view() if wanted ~= result then - infer.viewType(source) + infer.getInfer(source):view() end assert(wanted == result) files.remove('') |