diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-09-05 08:37:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-05 08:37:46 +0200 |
commit | 8b76034f3b289e623353036450c57b8378edd2d2 (patch) | |
tree | a7309855a90b9ac3b5344a6b01e76639155f7a43 /test/functional/api/window_spec.lua | |
parent | 9fe8e3cb2f357ea38d53b5d83b3ea0ebf98be58a (diff) | |
parent | 608ff261ad7fd8d83ed7f5a85da4690dc98a5567 (diff) | |
download | rneovim-8b76034f3b289e623353036450c57b8378edd2d2.tar.gz rneovim-8b76034f3b289e623353036450c57b8378edd2d2.tar.bz2 rneovim-8b76034f3b289e623353036450c57b8378edd2d2.zip |
Merge #8931 from justinmk/api-error-overrun
Diffstat (limited to 'test/functional/api/window_spec.lua')
-rw-r--r-- | test/functional/api/window_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/api/window_spec.lua b/test/functional/api/window_spec.lua index d404ef5426..27d7aa11b4 100644 --- a/test/functional/api/window_spec.lua +++ b/test/functional/api/window_spec.lua @@ -169,7 +169,7 @@ describe('api/win', function() eq(1, funcs.exists('w:lua')) curwinmeths.del_var('lua') eq(0, funcs.exists('w:lua')) - eq({false, 'Key does not exist: lua'}, meth_pcall(curwinmeths.del_var, 'lua')) + eq({false, 'Key not found: lua'}, meth_pcall(curwinmeths.del_var, 'lua')) curwinmeths.set_var('lua', 1) command('lockvar w:lua') eq({false, 'Key is locked: lua'}, meth_pcall(curwinmeths.del_var, 'lua')) |