mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
tests: update tests to use [gs]et_lines instead of [gs]et_line_slice
This commit is contained in:
@@ -165,8 +165,8 @@ describe('server -> client', function()
|
||||
|
||||
eq('SOME TEXT', eval("rpcrequest(vim, 'buffer_get_line', "..buf..", 0)"))
|
||||
|
||||
-- Call get_line_slice(buf, range [0,0], includes start, includes end)
|
||||
eq({'SOME TEXT'}, eval("rpcrequest(vim, 'buffer_get_line_slice', "..buf..", 0, 0, 1, 1)"))
|
||||
-- Call get_lines(buf, range [0,0], strict_indexing)
|
||||
eq({'SOME TEXT'}, eval("rpcrequest(vim, 'buffer_get_lines', "..buf..", 0, 1, 1)"))
|
||||
end)
|
||||
|
||||
it('returns an error if the request failed', function()
|
||||
|
||||
Reference in New Issue
Block a user