From 93f38963007e73983c726bfb71c34e313341a3e7 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Fri, 28 Oct 2016 22:32:14 -0400 Subject: [PATCH] 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. --- 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 b743c3a4b7..05d8cda8e3 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')