aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2016-04-13 09:24:29 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2016-04-13 09:24:29 -0300
commit982198143d3a6f5e9e4880b37206db6fbcb05c7c (patch)
treeb85f5789efce5713b5e5f05b27fda6166afb17c3 /test/functional/ex_cmds
parentf47a20a266f89be31e20f727de59708759795345 (diff)
parentc18d5917e3442162f20eb9e95ba4bcffbbd8408b (diff)
downloadrneovim-982198143d3a6f5e9e4880b37206db6fbcb05c7c.tar.gz
rneovim-982198143d3a6f5e9e4880b37206db6fbcb05c7c.tar.bz2
rneovim-982198143d3a6f5e9e4880b37206db6fbcb05c7c.zip
Merge PR #4398 'Update lua client'
Diffstat (limited to 'test/functional/ex_cmds')
-rw-r--r--test/functional/ex_cmds/oldfiles_spec.lua3
-rw-r--r--test/functional/ex_cmds/wundo_spec.lua2
-rw-r--r--test/functional/ex_cmds/wviminfo_spec.lua2
3 files changed, 5 insertions, 2 deletions
diff --git a/test/functional/ex_cmds/oldfiles_spec.lua b/test/functional/ex_cmds/oldfiles_spec.lua
index dac6757a97..3d90d20ab3 100644
--- a/test/functional/ex_cmds/oldfiles_spec.lua
+++ b/test/functional/ex_cmds/oldfiles_spec.lua
@@ -62,6 +62,9 @@ describe(':oldfiles!', function()
_clear()
execute('rshada! ' .. shada_file)
+ -- Ensure nvim is out of "Press ENTER..." screen
+ feed('<cr>')
+
-- Ensure v:oldfiles isn't busted. Since things happen so fast,
-- the ordering of v:oldfiles is unstable (it uses qsort() under-the-hood).
-- Let's verify the contents and the length of v:oldfiles before moving on.
diff --git a/test/functional/ex_cmds/wundo_spec.lua b/test/functional/ex_cmds/wundo_spec.lua
index c3147e1c0f..969dfea3d9 100644
--- a/test/functional/ex_cmds/wundo_spec.lua
+++ b/test/functional/ex_cmds/wundo_spec.lua
@@ -24,6 +24,6 @@ describe('u_* functions', function()
'-c', 'set undodir=. undofile'})
set_session(session)
execute('echo "True"') -- Should not error out due to crashed Neovim
- session:exit(0)
+ session:close()
end)
end)
diff --git a/test/functional/ex_cmds/wviminfo_spec.lua b/test/functional/ex_cmds/wviminfo_spec.lua
index 207d94124f..21f14be62c 100644
--- a/test/functional/ex_cmds/wviminfo_spec.lua
+++ b/test/functional/ex_cmds/wviminfo_spec.lua
@@ -9,7 +9,7 @@ describe(':wshada', function()
before_each(function()
if session then
- session:exit(0)
+ session:close()
end
-- Override the default session because we need 'swapfile' for these tests.