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/legacy/074_global_var_in_viminfo_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/legacy/074_global_var_in_viminfo_spec.lua')
-rw-r--r-- | test/functional/legacy/074_global_var_in_viminfo_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/legacy/074_global_var_in_viminfo_spec.lua b/test/functional/legacy/074_global_var_in_viminfo_spec.lua index f017ed80a8..2428b7f74d 100644 --- a/test/functional/legacy/074_global_var_in_viminfo_spec.lua +++ b/test/functional/legacy/074_global_var_in_viminfo_spec.lua @@ -28,7 +28,7 @@ describe('storing global variables in ShaDa files', function() execute( -- This will cause a few errors, do it silently. 'set visualbell', - 'set viminfo+=!', + 'set shada+=!', "let MY_GLOBAL_DICT={'foo': 1, 'bar': 0, 'longvarible': 1000}", -- Store a really long list. Initially this was testing line wrapping in -- viminfo, but shada files has no line wrapping, no matter how long the @@ -38,7 +38,7 @@ describe('storing global variables in ShaDa files', function() eq(test_dict, eval('MY_GLOBAL_DICT')) eq(test_list, eval('MY_GLOBAL_LIST')) - execute('wv! ' .. tempname) + execute('wsh! ' .. tempname) wait() -- Assert that the shada file exists. @@ -49,7 +49,7 @@ describe('storing global variables in ShaDa files', function() eq(0, eval('exists("MY_GLOBAL_DICT")')) eq(0, eval('exists("MY_GLOBAL_LIST")')) - execute('rv! ' .. tempname) + execute('rsh! ' .. tempname) eq(test_list, eval('MY_GLOBAL_LIST')) eq(test_dict, eval('MY_GLOBAL_DICT')) |