diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-03-17 13:00:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-17 13:00:19 +0100 |
commit | 0c1f7831649e92b6904ca580ee90acd6ba89d1a8 (patch) | |
tree | 0d3980fa4a77c305083dfc3a4ee24249e328408e /test/functional/ex_cmds | |
parent | 10045cddb6710ea92337d30fb15deded1fe6b432 (diff) | |
parent | 1dbe7a4decdd7e93153c0c3cb81197531b719b81 (diff) | |
download | rneovim-0c1f7831649e92b6904ca580ee90acd6ba89d1a8.tar.gz rneovim-0c1f7831649e92b6904ca580ee90acd6ba89d1a8.tar.bz2 rneovim-0c1f7831649e92b6904ca580ee90acd6ba89d1a8.zip |
Merge #6087 from justinmk/defaults
defaults: 'ruler', 'showcmd', 'belloff=all'
Diffstat (limited to 'test/functional/ex_cmds')
-rw-r--r-- | test/functional/ex_cmds/oldfiles_spec.lua | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/test/functional/ex_cmds/oldfiles_spec.lua b/test/functional/ex_cmds/oldfiles_spec.lua index a218bb6633..a161e49fc6 100644 --- a/test/functional/ex_cmds/oldfiles_spec.lua +++ b/test/functional/ex_cmds/oldfiles_spec.lua @@ -7,14 +7,10 @@ local ok, set_session, spawn = helpers.ok, helpers.set_session, helpers.spawn local shada_file = 'test.shada' --- --- helpers.clear() uses "-i NONE", which is not useful for this test. --- local function _clear() - set_session(spawn({nvim_prog, - '-u', 'NONE', - '--cmd', 'set noswapfile undodir=. directory=. viewdir=. backupdir=.', - '--embed'})) + set_session(spawn({nvim_prog, '--embed', '-u', 'NONE', '--cmd', + -- Need shada for these tests. + 'set noswapfile undodir=. directory=. viewdir=. backupdir=. belloff= noshowcmd noruler'})) end describe(':oldfiles', function() @@ -63,7 +59,7 @@ describe(':browse oldfiles', function() _clear() execute('rshada! ' .. shada_file) - -- Ensure nvim is out of "Press ENTER..." screen + -- Ensure nvim is out of "Press ENTER..." prompt. feed('<cr>') -- Ensure v:oldfiles isn't busted. Since things happen so fast, |