Mercurial > vim
changeset 11171:7fc6afa998be v8.0.0472
patch 8.0.0472: when a test fails another test may also fail
commit https://github.com/vim/vim/commit/c537947100d4a73754ad4b4c9228c6c439655e5d
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 16 22:38:00 2017 +0100
patch 8.0.0472: when a test fails another test may also fail
Problem: When a test fails and test.log is created, Test_edit_CTRL_I
matches it instead of test1.in.
Solution: Match with runtest.vim instead.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 16 Mar 2017 22:45:04 +0100 |
parents | 3c8cb5ff2434 |
children | a7dee2aa07c4 |
files | src/testdir/test_edit.vim src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_edit.vim +++ b/src/testdir/test_edit.vim @@ -506,8 +506,8 @@ func! Test_edit_CTRL_I() let path=expand("%:p:h") new call setline(1, [path."/", '']) - call feedkeys("Ate\<c-x>\<c-f>\<tab>\<cr>\<esc>", 'tnix') - call assert_match('test1\.in', getline(1)) + call feedkeys("Arunt\<c-x>\<c-f>\<tab>\<cr>\<esc>", 'tnix') + call assert_match('runtest\.vim', getline(1)) %d call writefile(['one', 'two', 'three'], 'Xinclude.txt') let include='#include Xinclude.txt'