Skip to content

Commit 150f055

Browse files
committed
patch 8.1.1488: summary of tests has incorrect failed count
Problem: Summary of tests has incorrect failed count. Solution: Add to the failed count instead of setting it. (Christian Brabandt)
1 parent 62a88f4 commit 150f055

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/testdir/summarize.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if 1
66
if a:type ==# 'executed'
77
let g:executed += (a:match+0)
88
elseif a:type ==# 'failed'
9-
let g:failed = a:match+0
9+
let g:failed += a:match+0
1010
elseif a:type ==# 'skipped'
1111
let g:skipped += 1
1212
call extend(g:skipped_output, ["\t".a:match])

src/version.c

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

768768
static int included_patches[] =
769769
{ /* Add new patch number below this line */
770+
/**/
771+
1488,
770772
/**/
771773
1487,
772774
/**/

0 commit comments

Comments
 (0)