diff options
author | Florian Walch <florian@fwalch.com> | 2016-02-09 22:26:30 +0100 |
---|---|---|
committer | Florian Walch <florian@fwalch.com> | 2016-02-09 22:26:30 +0100 |
commit | dcdb50b64b898b64e3cb4ce05d0a2c3152740e3b (patch) | |
tree | 0eddf125fd8a1e0d94ffa279134669df1ee5fbf7 /test/functional/legacy/091_context_variables_spec.lua | |
parent | 3be74ac634e205e26874f75b9300d3e016a110d6 (diff) | |
parent | f19e4dd1df63d8185631107d1def1609dc5aad7a (diff) | |
download | rneovim-dcdb50b64b898b64e3cb4ce05d0a2c3152740e3b.tar.gz rneovim-dcdb50b64b898b64e3cb4ce05d0a2c3152740e3b.tar.bz2 rneovim-dcdb50b64b898b64e3cb4ce05d0a2c3152740e3b.zip |
Merge pull request #4212 from jbradaric/vim-7.4.834
vim-patch:7.4.834
Diffstat (limited to 'test/functional/legacy/091_context_variables_spec.lua')
-rw-r--r-- | test/functional/legacy/091_context_variables_spec.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/legacy/091_context_variables_spec.lua b/test/functional/legacy/091_context_variables_spec.lua index ffeb0c657e..2c46ef643c 100644 --- a/test/functional/legacy/091_context_variables_spec.lua +++ b/test/functional/legacy/091_context_variables_spec.lua @@ -13,6 +13,9 @@ describe('context variables', function() -- Test for getbufvar(). -- Use strings to test for memory leaks. source([[ + let t:testvar='abcd' + $put =string(gettabvar(1, 'testvar')) + $put =string(gettabvar(1, 'testvar')) let b:var_num = '1234' let def_num = '5678' $put =string(getbufvar(1, 'var_num')) @@ -125,6 +128,8 @@ describe('context variables', function() -- Assert buffer contents. expect([[ start: + 'abcd' + 'abcd' '1234' '1234' {'var_num': '1234'} |