Skip to content

Commit

Permalink
fix #426 fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Feb 26, 2021
1 parent b671c35 commit ffca749
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions test/hover/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions test/signature/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ end
]]
{
label = [[
function pairs(t: table)
function pairs(t: <T>)
]],
arg = {16, 23},
arg = {16, 21},
}

0 comments on commit ffca749

Please sign in to comment.