mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-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.
c537947100
This commit is contained in:
parent
cbecae46f4
commit
fafe23cad7
@ -506,8 +506,8 @@ func! Test_edit_CTRL_I()
|
|||||||
let path=expand("%:p:h")
|
let path=expand("%:p:h")
|
||||||
new
|
new
|
||||||
call setline(1, [path."/", ''])
|
call setline(1, [path."/", ''])
|
||||||
call feedkeys("Ate\<c-x>\<c-f>\<tab>\<cr>\<esc>", 'tnix')
|
call feedkeys("Arunt\<c-x>\<c-f>\<tab>\<cr>\<esc>", 'tnix')
|
||||||
call assert_match('test1\.in', getline(1))
|
call assert_match('runtest\.vim', getline(1))
|
||||||
%d
|
%d
|
||||||
call writefile(['one', 'two', 'three'], 'Xinclude.txt')
|
call writefile(['one', 'two', 'three'], 'Xinclude.txt')
|
||||||
let include='#include Xinclude.txt'
|
let include='#include Xinclude.txt'
|
||||||
|
Loading…
Reference in New Issue
Block a user