diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-09 16:32:05 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-09 16:32:05 +0800 |
commit | 916b8563cc327af32a5c3dccfdb5434711d83377 (patch) | |
tree | d21c0503425c168ae019e9e358cc278715639eca /test | |
parent | 3827d18e5b84d5372334ee8151362f935edf8ac4 (diff) | |
download | lua-language-server-916b8563cc327af32a5c3dccfdb5434711d83377.zip |
view infer must specify uri
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 41421ea9..56f57100 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 = vm.getInfer(source):view() + local result = vm.getInfer(source):view('') if wanted ~= result then - vm.getInfer(source):view() + vm.getInfer(source):view('') end assert(wanted == result) files.remove('') |