mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
functests: Test that history is still accessible after :wshada
This commit is contained in:
parent
6f6497f5e0
commit
875d287d4b
@ -66,6 +66,9 @@ describe('ShaDa support code', function()
|
||||
nvim_feed(':" Test\n')
|
||||
nvim_feed(':" Test 2\n')
|
||||
nvim_command('wshada')
|
||||
-- Regression test: :wshada should not alter or free history.
|
||||
eq('" Test 2', nvim_eval('histget(":", -1)'))
|
||||
eq('" Test', nvim_eval('histget(":", -2)'))
|
||||
reset()
|
||||
nvim_command('set shada=\'0')
|
||||
nvim_command('rshada')
|
||||
|
Loading…
Reference in New Issue
Block a user