From 749cae866278469d11e6ec467dd0e98ab6233439 Mon Sep 17 00:00:00 2001 From: ZyX Date: Mon, 6 Jul 2015 01:20:43 +0300 Subject: [PATCH] functests: Fix change list ShaDa test failures --- test/functional/shada/marks_spec.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/functional/shada/marks_spec.lua b/test/functional/shada/marks_spec.lua index a6518ccbf9..25362b406b 100644 --- a/test/functional/shada/marks_spec.lua +++ b/test/functional/shada/marks_spec.lua @@ -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)