mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.1650
Problem: Quickfix test fails.
Solution: Accept any number of matches.
f68f1d7079
This commit is contained in:
parent
caa33aaaf8
commit
830bf8665b
@ -794,7 +794,7 @@ static int included_patches[] = {
|
||||
// 1653 NA
|
||||
1652,
|
||||
// 1651 NA
|
||||
// 1650,
|
||||
1650,
|
||||
1649,
|
||||
1648,
|
||||
1647,
|
||||
|
@ -448,11 +448,13 @@ describe('helpgrep', function()
|
||||
helpgr quickfix
|
||||
call setqflist([], 'r')
|
||||
cad
|
||||
call assert_fails('cn', 'E553:')
|
||||
" Upstream calls quit! here to verify vim is still
|
||||
" running, but that will be covered by the
|
||||
" expected_empty() call in the busted test
|
||||
" quit!
|
||||
try
|
||||
silent cn
|
||||
catch
|
||||
" number of matches is unknown
|
||||
call assert_true(v:exception =~ 'E553:')
|
||||
endtry
|
||||
quit!
|
||||
endfunc
|
||||
]])
|
||||
end)
|
||||
|
Loading…
Reference in New Issue
Block a user