aboutsummaryrefslogtreecommitdiff
path: root/test/functional/viml
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-10-11 00:05:53 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-10-11 01:24:54 -0400
commit4a54472098b3c321f5d51eba7e4e69e791517927 (patch)
treec083b53a97b7536c4f36b761997d94dbac877491 /test/functional/viml
parentbdd0c31fb0078f92cc74e14ba94e77ae6be3cae1 (diff)
downloadrneovim-4a54472098b3c321f5d51eba7e4e69e791517927.tar.gz
rneovim-4a54472098b3c321f5d51eba7e4e69e791517927.tar.bz2
rneovim-4a54472098b3c321f5d51eba7e4e69e791517927.zip
vim-patch:8.2.1101: no error when using wrong arguments for setqflist()
Problem: No error when using wrong arguments for setqflist() or setloclist(). Solution: Check for the error. https://github.com/vim/vim/commit/be7a50c22f63478a6e64fe6b932a847830191b95
Diffstat (limited to 'test/functional/viml')
-rw-r--r--test/functional/viml/errorlist_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/viml/errorlist_spec.lua b/test/functional/viml/errorlist_spec.lua
index c5390cbd12..9acc61e398 100644
--- a/test/functional/viml/errorlist_spec.lua
+++ b/test/functional/viml/errorlist_spec.lua
@@ -27,7 +27,7 @@ describe('setqflist()', function()
setqflist({''}, 'r', 'foo')
command('copen')
eq('foo', get_cur_win_var('quickfix_title'))
- setqflist({''}, 'r', {['title'] = 'qf_title'})
+ setqflist({}, 'r', {['title'] = 'qf_title'})
eq('qf_title', get_cur_win_var('quickfix_title'))
end)