mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
functests: Fix change list ShaDa test failures
This commit is contained in:
parent
602efe856a
commit
749cae8662
@ -171,9 +171,15 @@ describe('ShaDa support code', function()
|
||||
reset()
|
||||
nvim_command('edit ' .. testfilename)
|
||||
-- nvim_command('rviminfo')
|
||||
-- nvim_command('redir! >/tmp/changes | changes | redir END')
|
||||
nvim_feed('Gg;')
|
||||
-- Note: without “sync” “commands” test has good changes to fail for unknown
|
||||
-- reason (in first eq expected 1 is compared with 2). Any command inserted
|
||||
-- causes this to work properly.
|
||||
nvim_command('" sync')
|
||||
eq(1, nvim_current_line())
|
||||
nvim_feed('g;')
|
||||
nvim_command('" sync 2')
|
||||
eq(2, nvim_current_line())
|
||||
end)
|
||||
end)
|
||||
|
Loading…
Reference in New Issue
Block a user