vim-patch:8.2.1041: test summary is missing executed count (#12519)

Problem:    Test summary is missing executed count.
Solution:   Adjust pattern used for counting.
7eaafe65ee
This commit is contained in:
Jan Edmund Lazo 2020-06-23 11:55:56 -04:00 committed by GitHub
parent 2f6d1d3c88
commit 30b02a1bee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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