]> granicus.if.org Git - vim/commitdiff
patch 7.4.1650 v7.4.1650
authorBram Moolenaar <Bram@vim.org>
Fri, 25 Mar 2016 16:14:06 +0000 (17:14 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 25 Mar 2016 16:14:06 +0000 (17:14 +0100)
Problem:    Quickfix test fails.
Solution:   Accept any number of matches.

src/testdir/test_quickfix.vim
src/version.c

index e56c8a2391ba0d237d06538eab7bde50a7e61a14..3908ce0938d6b995b20538732ac12b63e64a1126 100644 (file)
@@ -684,6 +684,11 @@ func Test_caddbuffer_to_empty()
   helpgr quickfix
   call setqflist([], 'r')
   cad
-  call assert_fails('cn', 'E553:')
+  try
+    cn
+  catch
+    " number of matches is unknown
+    call assert_true(v:exception =~ 'E553:')
+  endtry
   quit!
 endfunc
index 9a7e19ea71bec7c802c34829cd6af75121443233..1a5b6e7f64d14b967b6bc21d6dfaf770dd27d282 100644 (file)
@@ -748,6 +748,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1650,
 /**/
     1649,
 /**/