Mercurial > vim
comparison src/testdir/summarize.vim @ 18995:c77d7a415e59 v8.2.0058
patch 8.2.0058: running tests changes ~/.viminfo
Commit: https://github.com/vim/vim/commit/eb698d0b3295675f184ad4b62034e064cded4ade
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 30 00:07:57 2019 +0100
patch 8.2.0058: running tests changes ~/.viminfo
Problem: Running tests changes ~/.viminfo.
Solution: Make 'viminfo' empty when summarizing tests results. (closes https://github.com/vim/vim/issues/5414)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 30 Dec 2019 00:15:04 +0100 |
parents | ef35a3a70c24 |
children | a51ce93f3e6c |
comparison
equal
deleted
inserted
replaced
18994:8fe692b5ad53 | 18995:c77d7a415e59 |
---|---|
1 if 1 | 1 if 1 |
2 " This is executed only with the eval feature | 2 " This is executed only with the eval feature |
3 set nocompatible | 3 set nocompatible |
4 set viminfo= | |
4 func Count(match, type) | 5 func Count(match, type) |
5 if a:type ==# 'executed' | 6 if a:type ==# 'executed' |
6 let g:executed += (a:match+0) | 7 let g:executed += (a:match+0) |
7 elseif a:type ==# 'failed' | 8 elseif a:type ==# 'failed' |
8 let g:failed += a:match+0 | 9 let g:failed += a:match+0 |