]> granicus.if.org Git - vim/commitdiff
patch 8.1.1947: when executing one test the report doesn't show it v8.1.1947
authorBram Moolenaar <Bram@vim.org>
Fri, 30 Aug 2019 17:05:32 +0000 (19:05 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 30 Aug 2019 17:05:32 +0000 (19:05 +0200)
Problem:    When executing one test the report doesn't show it.
Solution:   Adjust the regexp. (Daniel Hahler, closes #4879)

src/testdir/summarize.vim
src/version.c

index 4a88935a40aac97cd8ae625df13b772d796bbfe3..5bbf0b338a25a7d6f5a7bd4ac639b7b79fa163ae 100644 (file)
@@ -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
 
index 26587aaaecb1cce623dd5913dd3c6bc19a8f36d6..463d215d0828dc75469f663982cf44d960f4c084 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1947,
 /**/
     1946,
 /**/