From 7eaafe65eef88493c789b160914c8e2e8e42d4a7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 22 Jun 2020 22:10:06 +0200 Subject: [PATCH] patch 8.2.1041: test summary is missing executed count Problem: Test summary is missing executed count. Solution: Adjust pattern used for counting. --- src/testdir/summarize.vim | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/testdir/summarize.vim b/src/testdir/summarize.vim index 4e4135287..7f8f758a7 100644 --- a/src/testdir/summarize.vim +++ b/src/testdir/summarize.vim @@ -28,7 +28,7 @@ if 1 " This uses the :s command to just fetch and process the output of the " tests, it doesn't actually replace anything. " And it uses "silent" to avoid reporting the number of matches. - silent %s/^Executed\s\+\zs\d\+\ze\s\+tests\?/\=Count(submatch(0),'executed')/egn + silent %s/Executed\s\+\zs\d\+\ze\s\+tests\?/\=Count(submatch(0),'executed')/egn silent %s/^SKIPPED \zs.*/\=Count(submatch(0), 'skipped')/egn silent %s/^\(\d\+\)\s\+FAILED:/\=Count(submatch(1), 'failed')/egn diff --git a/src/version.c b/src/version.c index de54b218d..4b4fb4047 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1041, /**/ 1040, /**/ -- 2.40.0