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