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.
This commit is contained in:
James McCoy 2016-10-28 22:32:14 -04:00
parent 242c3d5f0b
commit 93f3896300
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

View File

@ -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')