diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-12-30 08:47:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-30 08:47:19 +0100 |
| commit | f9be48436c6bebb111bdf6b20785172dd09d2fac (patch) | |
| tree | f394ed8ef5a889fb19c4c2f4517a477bda6477d7 /src/nvim/testdir/summarize.vim | |
| parent | 00af06b3728e16155e08833e7e7708c495f500de (diff) | |
| parent | 1250a01325102890499de1ec5ff3c132c28331d4 (diff) | |
| download | rneovim-f9be48436c6bebb111bdf6b20785172dd09d2fac.tar.gz rneovim-f9be48436c6bebb111bdf6b20785172dd09d2fac.tar.bz2 rneovim-f9be48436c6bebb111bdf6b20785172dd09d2fac.zip | |
Merge #11632 from janlazo/vim-8.1.2087
vim-patch:8.1.2087,8.2.0058
Diffstat (limited to 'src/nvim/testdir/summarize.vim')
| -rw-r--r-- | src/nvim/testdir/summarize.vim | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/nvim/testdir/summarize.vim b/src/nvim/testdir/summarize.vim index 5bbf0b338a..4e4135287b 100644 --- a/src/nvim/testdir/summarize.vim +++ b/src/nvim/testdir/summarize.vim @@ -1,6 +1,7 @@ if 1 " This is executed only with the eval feature set nocompatible + set viminfo= func Count(match, type) if a:type ==# 'executed' let g:executed += (a:match+0) @@ -8,7 +9,7 @@ if 1 let g:failed += a:match+0 elseif a:type ==# 'skipped' let g:skipped += 1 - call extend(g:skipped_output, ["\t".a:match]) + call extend(g:skipped_output, ["\t" .. a:match]) endif endfunc @@ -19,6 +20,10 @@ if 1 let g:failed_output = [] let output = [""] + if $TEST_FILTER != '' + call extend(g:skipped_output, ["\tAll tests not matching $TEST_FILTER: '" .. $TEST_FILTER .. "'"]) + endif + try " This uses the :s command to just fetch and process the output of the " tests, it doesn't actually replace anything. |