diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/shada/shada_spec.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/shada/shada_spec.lua b/test/functional/shada/shada_spec.lua index 0d196072e7..651599dc5d 100644 --- a/test/functional/shada/shada_spec.lua +++ b/test/functional/shada/shada_spec.lua @@ -262,6 +262,12 @@ describe('ShaDa support code', function() ) end) + it(':wshada/:rshada without arguments is no-op when shadafile=NONE', function() + nvim_command('set shadafile=NONE') + nvim_command('wshada') + nvim_command('rshada') + end) + it('does not crash when ShaDa file directory is not writable', function() skip(is_os('win')) |