vim-patch:7.4.1650

Problem:    Quickfix test fails.
Solution:   Accept any number of matches.

f68f1d7079
This commit is contained in:
James McCoy
2016-11-12 15:45:10 -05:00
parent caa33aaaf8
commit 830bf8665b
2 changed files with 8 additions and 6 deletions

View File

@@ -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,

View File

@@ -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)