Mercurial > vim
changeset 16976:7160dcd5c1d2 v8.1.1488
patch 8.1.1488: summary of tests has incorrect failed count
commit https://github.com/vim/vim/commit/150f0550f45b836200a189e4d34417f4d3467455
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 7 21:29:50 2019 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 07 Jun 2019 21:30:05 +0200 |
parents | 484cc6f86870 |
children | 9d3ff8fd2018 |
files | src/testdir/summarize.vim src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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])