From fafe23cad70b3a20bcf3d4417a5d1fe93cd8e747 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 2 Feb 2018 01:16:14 +0100 Subject: [PATCH] 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 --- src/nvim/testdir/test_edit.vim | 4 ++-- 1 file 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\\\\\", 'tnix') - call assert_match('test1\.in', getline(1)) + call feedkeys("Arunt\\\\\", 'tnix') + call assert_match('runtest\.vim', getline(1)) %d call writefile(['one', 'two', 'three'], 'Xinclude.txt') let include='#include Xinclude.txt'