]> granicus.if.org Git - vim/commitdiff
patch 8.1.1488: summary of tests has incorrect failed count v8.1.1488
authorBram Moolenaar <Bram@vim.org>
Fri, 7 Jun 2019 19:29:50 +0000 (21:29 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 7 Jun 2019 19:29:50 +0000 (21:29 +0200)
Problem:    Summary of tests has incorrect failed count.
Solution:   Add to the failed count instead of setting it. (Christian Brabandt)

src/testdir/summarize.vim
src/version.c

index 5baee63489824585a2c38b1ce550ff7dffebde42..69445677d55ef90b38f9d1900298e70f37642e97 100644 (file)
@@ -6,7 +6,7 @@ if 1
     if a:type ==# 'executed'
       let g:executed += (a:match+0)
     elseif a:type ==# 'failed'
-      let g:failed = a:match+0
+      let g:failed += a:match+0
     elseif a:type ==# 'skipped'
       let g:skipped += 1
       call extend(g:skipped_output, ["\t".a:match])
index 5ac6f9d19a14f1354c61d404c3bc350c1d3163f5..90ee2476a265d808c17f071e179133f1051c470f 100644 (file)
@@ -767,6 +767,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1488,
 /**/
     1487,
 /**/