Skip to content

Commit c537947

Browse files
committed
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.
1 parent 0529b3e commit c537947

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/testdir/test_edit.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,8 +506,8 @@ func! Test_edit_CTRL_I()
506506
let path=expand("%:p:h")
507507
new
508508
call setline(1, [path."/", ''])
509-
call feedkeys("Ate\<c-x>\<c-f>\<tab>\<cr>\<esc>", 'tnix')
510-
call assert_match('test1\.in', getline(1))
509+
call feedkeys("Arunt\<c-x>\<c-f>\<tab>\<cr>\<esc>", 'tnix')
510+
call assert_match('runtest\.vim', getline(1))
511511
%d
512512
call writefile(['one', 'two', 'three'], 'Xinclude.txt')
513513
let include='#include Xinclude.txt'

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
472,
767769
/**/
768770
471,
769771
/**/

0 commit comments

Comments
 (0)