Skip to content

Commit f68f1d7

Browse files
committed
patch 7.4.1650
Problem: Quickfix test fails. Solution: Accept any number of matches.
1 parent aedfcbe commit f68f1d7

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/testdir/test_quickfix.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,11 @@ func Test_caddbuffer_to_empty()
684684
helpgr quickfix
685685
call setqflist([], 'r')
686686
cad
687-
call assert_fails('cn', 'E553:')
687+
try
688+
cn
689+
catch
690+
" number of matches is unknown
691+
call assert_true(v:exception =~ 'E553:')
692+
endtry
688693
quit!
689694
endfunc

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ static char *(features[]) =
748748

749749
static int included_patches[] =
750750
{ /* Add new patch number below this line */
751+
/**/
752+
1650,
751753
/**/
752754
1649,
753755
/**/

0 commit comments

Comments
 (0)