]> granicus.if.org Git - vim/commitdiff
patch 8.2.4033: running filetype tests leaves directory behind v8.2.4033
authorzeertzjq <zeertzjq@outlook.com>
Fri, 7 Jan 2022 20:07:46 +0000 (20:07 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 7 Jan 2022 20:07:46 +0000 (20:07 +0000)
Problem:    Running filetype tests leaves directory behind.
Solution:   Delete the top directory. (closes #9483)

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

index d8a2d79f6ea716a7315c702bd28fd3c60d8c4632..b86f33dfd553a20741ed5652c363b8f86a24a06b 100644 (file)
@@ -1067,7 +1067,7 @@ func Test_dep3patch_file()
   call assert_notequal('dep3patch', &filetype)
   bwipe!
 
-  call delete('debian/patches', 'rf')
+  call delete('debian', 'rf')
 endfunc
 
 func Test_patch_file()
index 78f1f2dec76e13a83d28f64c8e111d6cf783746c..7f01ebe9f3a533ae3311e8a8dabf85ec0d2e3451 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4033,
 /**/
     4032,
 /**/