diff options
author | Daniel Hahler <git@thequod.de> | 2019-08-30 22:48:46 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-08-30 22:48:46 +0200 |
commit | 8a03acb8dad4abaf507d502b11a66bd5a2b5e51e (patch) | |
tree | dbe557a8383566254c23a3d3c67682e930d38f09 /src | |
parent | 16c289f21744cbefe80852dc4376313b8985647e (diff) | |
download | rneovim-8a03acb8dad4abaf507d502b11a66bd5a2b5e51e.tar.gz rneovim-8a03acb8dad4abaf507d502b11a66bd5a2b5e51e.tar.bz2 rneovim-8a03acb8dad4abaf507d502b11a66bd5a2b5e51e.zip |
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)
https://github.com/vim/vim/commit/60b1bcfe92da1d7b8f894c91192f3a76e8aec391
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/summarize.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/summarize.vim b/src/nvim/testdir/summarize.vim index 4a88935a40..5bbf0b338a 100644 --- a/src/nvim/testdir/summarize.vim +++ b/src/nvim/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 |