mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
vim-patch:8.1.1947: when executing one test the report doesn't show it #10893
Problem: When executing one test the report doesn't show it.
Solution: Adjust the regexp. (Daniel Hahler, closes vim/vim#4879)
60b1bcfe92
This commit is contained in:

committed by
Justin M. Keyes

parent
16c289f217
commit
8a03acb8da
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user