diff options
-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}, } |