]> granicus.if.org Git - vim/commitdiff
patch 8.2.2360: test leaves file behind v8.2.2360
authorBram Moolenaar <Bram@vim.org>
Sat, 16 Jan 2021 12:43:31 +0000 (13:43 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 16 Jan 2021 12:43:31 +0000 (13:43 +0100)
Problem:    Test leaves file behind.
Solution:   Delete the right file. (Dominique PellĂ©, closes #7689)

src/testdir/test_filetype.vim
src/version.c

index 3d93ad15980e54274a471ee3a1fd6190ab50f74b..b05c152dc6056409d2eed94495bd024990b9dd34 100644 (file)
@@ -757,7 +757,7 @@ func Test_pp_file()
   call assert_equal('pascal', &filetype)
   bwipe!
 
-  call delete('Xfile.ts')
+  call delete('Xfile.pp')
   filetype off
 endfunc
 
index 51f8f0b47d681c32670755f9c65215d62ab5dc8b..aa86cab4957cdc94d4c02ff2dd57a510f2978148 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2360,
 /**/
     2359,
 /**/