diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-03-02 16:34:55 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-03-02 16:34:55 +0800 |
commit | 25d3e051095ff1f1b7da58e591b2455a25d19328 (patch) | |
tree | 262b756f7d045fa1c080e23d3234f94a9f2a9acb /test/completion | |
parent | 6aa49faddea1c572140b84a72a8bfa850d9143fd (diff) | |
download | lua-language-server-25d3e051095ff1f1b7da58e591b2455a25d19328.zip |
improve completion
Diffstat (limited to 'test/completion')
-rw-r--r-- | test/completion/common.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/completion/common.lua b/test/completion/common.lua index 818d0ac5..787549f7 100644 --- a/test/completion/common.lua +++ b/test/completion/common.lua @@ -3079,3 +3079,12 @@ TEST [[ if<??> ]] (EXISTS) + +TEST [[ +local t = x[<??>] +]] +(function (results) + for _, res in ipairs(results) do + assert(res.label ~= 'do') + end +end) |