diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-02-02 01:16:14 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-02-11 15:27:56 +0100 |
commit | fafe23cad70b3a20bcf3d4417a5d1fe93cd8e747 (patch) | |
tree | d6b5894d3c38160c007facf65941651c7f4ef4d0 | |
parent | cbecae46f4b098cd6018055c7f4c70bd147c7938 (diff) | |
download | rneovim-fafe23cad70b3a20bcf3d4417a5d1fe93cd8e747.tar.gz rneovim-fafe23cad70b3a20bcf3d4417a5d1fe93cd8e747.tar.bz2 rneovim-fafe23cad70b3a20bcf3d4417a5d1fe93cd8e747.zip |
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.
https://github.com/vim/vim/commit/c537947100d4a73754ad4b4c9228c6c439655e5d
-rw-r--r-- | src/nvim/testdir/test_edit.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_edit.vim b/src/nvim/testdir/test_edit.vim index d9dd629228..ba9462c5f5 100644 --- a/src/nvim/testdir/test_edit.vim +++ b/src/nvim/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' |