diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-26 10:02:17 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-26 10:02:17 +0800 |
commit | ffca749f6ff7269ea52ab26a7836f18226740da2 (patch) | |
tree | bdede3a596eb9b07fb0678e1c84b701f9c91450d | |
parent | b671c35f25832ec3abc7b2713e977e6f3d31c800 (diff) | |
download | lua-language-server-ffca749f6ff7269ea52ab26a7836f18226740da2.zip |
fix #426 fix tests
-rw-r--r-- | test/hover/init.lua | 9 | ||||
-rw-r--r-- | test/signature/init.lua | 4 |
2 files changed, 2 insertions, 11 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 52d31416..684cbbb2 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -638,15 +638,6 @@ local <?n?> = rawlen() local n: integer ]] -TEST[[ -<?next?>() -]] -[[ -function next(table: table, index?: any) - -> key: any - 2. value: any -]] - -- TODO 暂未实现 --TEST[[ --local <?n?> = pairs() diff --git a/test/signature/init.lua b/test/signature/init.lua index 90b47636..c7483c87 100644 --- a/test/signature/init.lua +++ b/test/signature/init.lua @@ -210,7 +210,7 @@ end ]] { label = [[ -function pairs(t: table) +function pairs(t: <T>) ]], - arg = {16, 23}, + arg = {16, 21}, } |