diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2016-04-10 23:46:11 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2016-04-11 23:07:52 -0300 |
commit | 704f3dd8553ad5239e87e9e3606d9315e069283a (patch) | |
tree | 54d5ac09dc6dd8f1e1acc66b050fe945d2a76f71 /test/functional/shada/helpers.lua | |
parent | 906271b53d34fd65681fbdc1b26c4a540af0d71b (diff) | |
download | rneovim-704f3dd8553ad5239e87e9e3606d9315e069283a.tar.gz rneovim-704f3dd8553ad5239e87e9e3606d9315e069283a.tar.bz2 rneovim-704f3dd8553ad5239e87e9e3606d9315e069283a.zip |
Synchronize shada reset helper with other functional tests
Diffstat (limited to 'test/functional/shada/helpers.lua')
-rw-r--r-- | test/functional/shada/helpers.lua | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/functional/shada/helpers.lua b/test/functional/shada/helpers.lua index 146ae8d51e..cc554097c6 100644 --- a/test/functional/shada/helpers.lua +++ b/test/functional/shada/helpers.lua @@ -20,14 +20,8 @@ local function nvim_argv() end end -local session = nil - local reset = function() - if session then - session:exit(0) - end - session = spawn(nvim_argv()) - set_session(session) + set_session(spawn(nvim_argv())) meths.set_var('tmpname', tmpname) end |