Skip to content

Commit

Permalink
feat: fix tests failing because of rename
Browse files Browse the repository at this point in the history
  • Loading branch information
max397574 committed Jul 22, 2024
1 parent fe5d1e4 commit 072f0af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/tests/complete/old_bugs_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe("Old Bugs:", function()
local context = Context:new()
assert.is.equal('require"care.menu', context.line)
assert.is.equal('require"care.menu', context.line_before_cursor)
assert.is.equal(24, context.cursor.col)
assert.is.equal(17, context.cursor.col)
end)
it("luals require doesn't remove quote when triggering manually", function()
vim.fn.setline(1, 'require"neo')
Expand Down Expand Up @@ -82,7 +82,7 @@ describe("Old Bugs:", function()
local context = Context:new()
assert.is.equal('require"care.menu', context.line)
assert.is.equal('require"care.menu', context.line_before_cursor)
assert.is.equal(24, context.cursor.col)
assert.is.equal(17, context.cursor.col)
end)
it("luals require module doesn't remove prefix correctly", function()
vim.fn.setline(1, 'require"care.me')
Expand Down Expand Up @@ -112,7 +112,7 @@ describe("Old Bugs:", function()
local context = Context:new()
assert.is.equal('require"care.menu', context.line)
assert.is.equal('require"care.menu', context.line_before_cursor)
assert.is.equal(24, context.cursor.col)
assert.is.equal(17, context.cursor.col)
end)
it("cmp-path doesn't set cursor properly", function()
vim.fn.setline(1, " ./in")
Expand Down

0 comments on commit 072f0af

Please sign in to comment.