diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-22 22:10:06 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-22 22:10:06 +0200 |
commit | 7eaafe65eef88493c789b160914c8e2e8e42d4a7 (patch) | |
tree | 11e5d8b0f6ee20f22827e2abecef64b6435f42f8 /src/testdir/summarize.vim | |
parent | bdd2c290d3cda69e0046c42f0c651f60bc510a16 (diff) | |
download | vim-git-7eaafe65eef88493c789b160914c8e2e8e42d4a7.tar.gz |
patch 8.2.1041: test summary is missing executed countv8.2.1041
Problem: Test summary is missing executed count.
Solution: Adjust pattern used for counting.
Diffstat (limited to 'src/testdir/summarize.vim')
-rw-r--r-- | src/testdir/summarize.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/summarize.vim b/src/testdir/summarize.vim index 4e4135287..7f8f758a7 100644 --- a/src/testdir/summarize.vim +++ b/src/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 |