mirror of
https://github.com/neovim/neovim.git
synced 2026-04-30 19:24:09 +00:00
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.
be7a50c22f
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user