diff options
author | ZyX <kp-pav@yandex.ru> | 2015-07-06 02:26:44 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2015-10-08 22:00:07 +0300 |
commit | 8663983cc4c2f66eb0ba58ad8e247ac0686cc79b (patch) | |
tree | ef304ae2b4ccad0f4dac03de8d877290b2943538 /test/functional/ex_cmds/wviminfo_spec.lua | |
parent | 9cf9c4a5860212cc0f9b71d349849811fdaf61a1 (diff) | |
download | rneovim-8663983cc4c2f66eb0ba58ad8e247ac0686cc79b.tar.gz rneovim-8663983cc4c2f66eb0ba58ad8e247ac0686cc79b.tar.bz2 rneovim-8663983cc4c2f66eb0ba58ad8e247ac0686cc79b.zip |
Deprecate &viminfo and :[rw]v, add &shada and :[rw]sh
Diffstat (limited to 'test/functional/ex_cmds/wviminfo_spec.lua')
-rw-r--r-- | test/functional/ex_cmds/wviminfo_spec.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/ex_cmds/wviminfo_spec.lua b/test/functional/ex_cmds/wviminfo_spec.lua index 053555c267..0c85157a0f 100644 --- a/test/functional/ex_cmds/wviminfo_spec.lua +++ b/test/functional/ex_cmds/wviminfo_spec.lua @@ -3,8 +3,8 @@ local clear, execute, eq, neq, spawn, nvim_prog, set_session, wait, write_file = helpers.clear, helpers.execute, helpers.eq, helpers.neq, helpers.spawn, helpers.nvim_prog, helpers.set_session, helpers.wait, helpers.write_file -describe(':wviminfo', function() - local shada_file = 'wviminfo_test' +describe(':wshada', function() + local shada_file = 'wshada_test' local session before_each(function() @@ -23,14 +23,14 @@ describe(':wviminfo', function() it('creates a shada file', function() -- file should _not_ exist eq(nil, lfs.attributes(shada_file)) - execute('wv! '..shada_file) + execute('wsh! '..shada_file) wait() -- file _should_ exist neq(nil, lfs.attributes(shada_file)) end) it('overwrites existing files', function() - local text = 'wviminfo test' + local text = 'wshada test' -- Create a dummy file write_file(shada_file, text) @@ -39,7 +39,7 @@ describe(':wviminfo', function() eq(text, io.open(shada_file):read()) neq(nil, lfs.attributes(shada_file)) - execute('wv! '..shada_file) + execute('wsh! '..shada_file) wait() -- File should have been overwritten with a shada file. |