[neovim] 04/07: test: Fix shada/marks_spec.lua failure

James McCoy jamessan at debian.org
Sat Oct 29 04:07:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch debian/sid
in repository neovim.

commit 61f51dbe8eddffa6491beca3467a9e3fb0e5fcab
Author: James McCoy <jamessan at jamessan.com>
Date:   Fri Oct 28 22:32:14 2016 -0400

    test: Fix shada/marks_spec.lua failure
    
    The 'dump and read back mark " from a closed tab' test needs to actually
    create a second tab.  Since it wasn't doing so, the 'q!' command caused
    nvim to exit and the subsequent 'qall' command fails.
    
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 test/functional/shada/marks_spec.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/functional/shada/marks_spec.lua b/test/functional/shada/marks_spec.lua
index b743c3a..05d8cda 100644
--- a/test/functional/shada/marks_spec.lua
+++ b/test/functional/shada/marks_spec.lua
@@ -104,7 +104,7 @@ describe('ShaDa support code', function()
 
   it('is able to dump and read back mark " from a closed tab', function()
     nvim_command('edit ' .. testfilename)
-    nvim_command('edit ' .. testfilename_2)
+    nvim_command('tabedit ' .. testfilename_2)
     nvim_command('2')
     nvim_command('q!')
     nvim_command('qall')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/neovim.git



More information about the pkg-vim-maintainers mailing list