From 30b02a1bee1a8cece089c7243548ef2cf5fb17bc Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Tue, 23 Jun 2020 11:55:56 -0400 Subject: 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 --- src/nvim/testdir/summarize.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit