test: hoist buf_lines()

This commit is contained in:
Justin M. Keyes
2020-01-08 09:32:49 -08:00
parent 844cd9cef1
commit 8c8681d594
2 changed files with 5 additions and 4 deletions

View File

@@ -729,10 +729,6 @@ describe('LSP util', function()
}
end
local function buf_lines(bufnr)
return exec_lua("return vim.api.nvim_buf_get_lines((...), 0, -1, false)", bufnr)
end
describe('apply_edits', function()
it('should apply simple edits', function()
local edits = {