aboutsummaryrefslogtreecommitdiff
path: root/test/functional/shada/marks_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/shada/marks_spec.lua')
-rw-r--r--test/functional/shada/marks_spec.lua22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/functional/shada/marks_spec.lua b/test/functional/shada/marks_spec.lua
index 25362b406b..b69477b6ed 100644
--- a/test/functional/shada/marks_spec.lua
+++ b/test/functional/shada/marks_spec.lua
@@ -38,9 +38,9 @@ describe('ShaDa support code', function()
nvim_command('mark A')
nvim_command('2')
nvim_command('kB')
- nvim_command('wviminfo')
+ nvim_command('wshada')
reset()
- nvim_command('rviminfo')
+ nvim_command('rshada')
nvim_command('normal! `A')
eq(testfilename, nvim_eval('fnamemodify(@%, ":t")'))
eq(1, nvim_current_line())
@@ -48,13 +48,13 @@ describe('ShaDa support code', function()
eq(2, nvim_current_line())
end)
- it('does not dump global mark with `f0` in viminfo', function()
- nvim_command('set viminfo+=f0')
+ it('does not dump global mark with `f0` in shada', function()
+ nvim_command('set shada+=f0')
nvim_command('edit ' .. testfilename)
nvim_command('mark A')
nvim_command('2')
nvim_command('kB')
- nvim_command('wviminfo')
+ nvim_command('wshada')
reset()
nvim_command('language C')
nvim_command([[
@@ -66,13 +66,13 @@ describe('ShaDa support code', function()
eq('Vim(normal):E20: Mark not set', nvim('get_var', 'exception'))
end)
- it('does read back global mark even with `\'0` and `f0` in viminfo', function()
+ it('does read back global mark even with `\'0` and `f0` in shada', function()
nvim_command('edit ' .. testfilename)
nvim_command('mark A')
nvim_command('2')
nvim_command('kB')
- nvim_command('wviminfo')
- set_additional_cmd('set viminfo=\'0,f0')
+ nvim_command('wshada')
+ set_additional_cmd('set shada=\'0,f0')
reset()
nvim_command('language C')
nvim_command('normal! `A')
@@ -103,7 +103,7 @@ describe('ShaDa support code', function()
nvim_feed('G')
nvim_feed('gg')
-- nvim_command('redir! >/tmp/jumps.last | jumps | redir END')
- -- nvim_command('wviminfo /tmp/foo')
+ -- nvim_command('wshada /tmp/foo')
nvim_command('qall')
reset()
nvim_command('redraw')
@@ -140,7 +140,7 @@ describe('ShaDa support code', function()
nvim_command('sleep 2')
nvim_feed('gg')
-- nvim_command('redir! >/tmp/jumps.last | jumps | redir END')
- -- nvim_command('wviminfo /tmp/foo')
+ -- nvim_command('wshada /tmp/foo')
nvim_command('qall')
reset()
nvim_command('redraw')
@@ -170,7 +170,7 @@ describe('ShaDa support code', function()
nvim_command('qall!')
reset()
nvim_command('edit ' .. testfilename)
- -- nvim_command('rviminfo')
+ -- nvim_command('rshada')
-- nvim_command('redir! >/tmp/changes | changes | redir END')
nvim_feed('Gg;')
-- Note: without “sync” “commands” test has good changes to fail for unknown