changeset 17901:14122cb0ea3d v8.1.1947

patch 8.1.1947: when executing one test the report doesn't show it Commit: https://github.com/vim/vim/commit/60b1bcfe92da1d7b8f894c91192f3a76e8aec391 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 30 19:05:32 2019 +0200 patch 8.1.1947: when executing one test the report doesn't show it Problem: When executing one test the report doesn't show it. Solution: Adjust the regexp. (Daniel Hahler, closes https://github.com/vim/vim/issues/4879)
author Bram Moolenaar <Bram@vim.org>
date Fri, 30 Aug 2019 19:15:03 +0200
parents 339e5151fe57
children 2aca8219903f
files src/testdir/summarize.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/summarize.vim
+++ b/src/testdir/summarize.vim
@@ -21,9 +21,9 @@ if 1
 
   try
     " This uses the :s command to just fetch and process the output of the
-    " tests, it doesn't acutally replace anything.
+    " 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
 
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1947,
+/**/
     1946,
 /**/
     1945,