Skip to content

Commit 7eaafe6

Browse files
committed
patch 8.2.1041: test summary is missing executed count
Problem: Test summary is missing executed count. Solution: Adjust pattern used for counting.
1 parent bdd2c29 commit 7eaafe6

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
@@ -28,7 +28,7 @@ if 1
2828
" This uses the :s command to just fetch and process the output of the
2929
" tests, it doesn't actually replace anything.
3030
" And it uses "silent" to avoid reporting the number of matches.
31-
silent %s/^Executed\s\+\zs\d\+\ze\s\+tests\?/\=Count(submatch(0),'executed')/egn
31+
silent %s/Executed\s\+\zs\d\+\ze\s\+tests\?/\=Count(submatch(0),'executed')/egn
3232
silent %s/^SKIPPED \zs.*/\=Count(submatch(0), 'skipped')/egn
3333
silent %s/^\(\d\+\)\s\+FAILED:/\=Count(submatch(1), 'failed')/egn
3434

src/version.c

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

755755
static int included_patches[] =
756756
{ /* Add new patch number below this line */
757+
/**/
758+
1041,
757759
/**/
758760
1040,
759761
/**/

0 commit comments

Comments
 (0)