0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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.
This commit is contained in:
Bram Moolenaar
2017-03-16 22:38:00 +01:00
parent 0529b3eb01
commit c537947100
2 changed files with 4 additions and 2 deletions

View File

@@ -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'

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
472,
/**/
471,
/**/