Skip to content

Commit

Permalink
fix: 1
Browse files Browse the repository at this point in the history
  • Loading branch information
pmizio committed Jan 17, 2024
1 parent cb97599 commit 1bd2d38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/requests_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,10 @@ describe("Lsp request", function()
assert.is.same(result[1].title, "Infer function return type")
assert.is.same(result[2].title, "Remove variable statement")
elseif version and v.gt(version, { 5, 1 }) then
print(vim.inspect(result))
assert.is.same(3, #result)
assert.is.same(result[1].title, "Move to a new file")
assert.is.same(result[1].title, "Move to file")
assert.is.same(result[1].title, "Move to a new file")
else
assert.is.same(1, #result)
assert.is.same(result[1].title, "Remove variable statement")
Expand Down

0 comments on commit 1bd2d38

Please sign in to comment.