diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-06-23 11:55:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-23 17:55:56 +0200 |
commit | 30b02a1bee1a8cece089c7243548ef2cf5fb17bc (patch) | |
tree | 14b4634a3b539ada00ba94a4ada35809aa5d5438 /src | |
parent | 2f6d1d3c887a87d9402137425b418dd12a904aac (diff) | |
download | rneovim-30b02a1bee1a8cece089c7243548ef2cf5fb17bc.tar.gz rneovim-30b02a1bee1a8cece089c7243548ef2cf5fb17bc.tar.bz2 rneovim-30b02a1bee1a8cece089c7243548ef2cf5fb17bc.zip |
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.
https://github.com/vim/vim/commit/7eaafe65eef88493c789b160914c8e2e8e42d4a7
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/summarize.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/summarize.vim b/src/nvim/testdir/summarize.vim index 4e4135287b..7f8f758a71 100644 --- a/src/nvim/testdir/summarize.vim +++ b/src/nvim/testdir/summarize.vim @@ -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 |