mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 11:25:33 +00:00
functests: Add test to check expected behaviour (failing)
This commit is contained in:
@@ -90,6 +90,16 @@ describe('ShaDa support code', function()
|
|||||||
eq(2, nvim_current_line())
|
eq(2, nvim_current_line())
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
it('is able to dump and read back mark "', function()
|
||||||
|
nvim_command('edit ' .. testfilename)
|
||||||
|
nvim_command('2')
|
||||||
|
nvim_command('qall')
|
||||||
|
reset()
|
||||||
|
nvim_command('edit ' .. testfilename)
|
||||||
|
nvim_command('normal! `"')
|
||||||
|
eq(2, nvim_current_line())
|
||||||
|
end)
|
||||||
|
|
||||||
it('is able to populate v:oldfiles', function()
|
it('is able to populate v:oldfiles', function()
|
||||||
nvim_command('edit ' .. testfilename)
|
nvim_command('edit ' .. testfilename)
|
||||||
local tf_full = curbufmeths.get_name()
|
local tf_full = curbufmeths.get_name()
|
||||||
|
|||||||
Reference in New Issue
Block a user