mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
2f6d1d3c88
commit
30b02a1bee
@ -28,7 +28,7 @@ if 1
|
|||||||
" This uses the :s command to just fetch and process the output of the
|
" This uses the :s command to just fetch and process the output of the
|
||||||
" tests, it doesn't actually replace anything.
|
" tests, it doesn't actually replace anything.
|
||||||
" And it uses "silent" to avoid reporting the number of matches.
|
" 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/^SKIPPED \zs.*/\=Count(submatch(0), 'skipped')/egn
|
||||||
silent %s/^\(\d\+\)\s\+FAILED:/\=Count(submatch(1), 'failed')/egn
|
silent %s/^\(\d\+\)\s\+FAILED:/\=Count(submatch(1), 'failed')/egn
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user