diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-07 21:29:50 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-07 21:29:50 +0200 |
commit | 150f0550f45b836200a189e4d34417f4d3467455 (patch) | |
tree | 79ac8968d8c2d18f0f6a8c2237a4c31a80231633 | |
parent | 62a88f498ac8d996bc976871cd80fcc14466f013 (diff) |
patch 8.1.1488: summary of tests has incorrect failed countv8.1.1488
Problem: Summary of tests has incorrect failed count.
Solution: Add to the failed count instead of setting it. (Christian Brabandt)
-rw-r--r-- | src/testdir/summarize.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/testdir/summarize.vim b/src/testdir/summarize.vim index 5baee63489..69445677d5 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 5ac6f9d19a..90ee2476a2 100644 --- a/src/version.c +++ b/src/version.c @@ -768,6 +768,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1488, +/**/ 1487, /**/ 1486, |