From: Bram Moolenaar Date: Fri, 7 Jun 2019 19:29:50 +0000 (+0200) Subject: patch 8.1.1488: summary of tests has incorrect failed count X-Git-Tag: v8.1.1488 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=150f0550f45b836200a189e4d34417f4d3467455;p=vim 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) --- diff --git a/src/testdir/summarize.vim b/src/testdir/summarize.vim index 5baee6348..69445677d 100644 --- a/src/testdir/summarize.vim +++ b/src/testdir/summarize.vim @@ -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]) diff --git a/src/version.c b/src/version.c index 5ac6f9d19..90ee2476a 100644 --- a/src/version.c +++ b/src/version.c @@ -767,6 +767,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1488, /**/ 1487, /**/