]> granicus.if.org Git - vim/commitdiff
patch 8.0.0472: when a test fails another test may also fail v8.0.0472
authorBram Moolenaar <Bram@vim.org>
Thu, 16 Mar 2017 21:38:00 +0000 (22:38 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 16 Mar 2017 21:38:00 +0000 (22:38 +0100)
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.

src/testdir/test_edit.vim
src/version.c

index 086e2e4587534d90b375fc21847b64f4922ee17d..344c12664ca152ca5b4d08c16a44c92aa62b46e4 100644 (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'
index 3f51e5a4287e472d2cd3224883d28c2faa5bcf07..e4a40f20f3ee6f670123d7e52b51f8c80f750cac 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    472,
 /**/
     471,
 /**/