summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-22 22:10:06 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-22 22:10:06 +0200
commit7eaafe65eef88493c789b160914c8e2e8e42d4a7 (patch)
tree11e5d8b0f6ee20f22827e2abecef64b6435f42f8
parentbdd2c290d3cda69e0046c42f0c651f60bc510a16 (diff)
downloadvim-git-8.2.1041.tar.gz
patch 8.2.1041: test summary is missing executed countv8.2.1041
Problem: Test summary is missing executed count. Solution: Adjust pattern used for counting.
-rw-r--r--src/testdir/summarize.vim2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
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
@@ -755,6 +755,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1041,
+/**/
1040,
/**/
1039,