diff options
author | James McCoy <jamessan@jamessan.com> | 2016-10-28 22:32:14 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2016-10-28 22:32:14 -0400 |
commit | 93f38963007e73983c726bfb71c34e313341a3e7 (patch) | |
tree | e4128d35f983235280f5f519c14ba849a7e0cce6 | |
parent | 242c3d5f0b5388ccc1f0532663fcf853cd8c3e51 (diff) | |
download | rneovim-93f38963007e73983c726bfb71c34e313341a3e7.tar.gz rneovim-93f38963007e73983c726bfb71c34e313341a3e7.tar.bz2 rneovim-93f38963007e73983c726bfb71c34e313341a3e7.zip |
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.
-rw-r--r-- | test/functional/shada/marks_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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') |