]> granicus.if.org Git - vim/commitdiff
patch 9.0.0381: writefile test leaves files behind v9.0.0381
authorDominique Pelle <dominique.pelle@gmail.com>
Sun, 4 Sep 2022 20:29:46 +0000 (21:29 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 4 Sep 2022 20:29:46 +0000 (21:29 +0100)
Problem:    Writefile test leaves files behind.
Solution:   Fix the file names of files to be deleted. (Dominique PellĂ©,
            closes #11056)

src/testdir/test_writefile.vim
src/version.c

index 4c1311d11e4022b82e883388af50d73647738650..dddc5c9539c15d74a957e2fbbc9740df666d7632 100644 (file)
@@ -75,8 +75,8 @@ func Test_writefile_fails_conversion()
   call assert_match('CONVERSION ERROR', output)
   let output = execute('write! ++enc=ucs-2 Xwfcfile')
   call assert_match('CONVERSION ERROR', output)
-  call delete('Xfilz~')
-  call delete('Xfily~')
+  call delete('Xwfcfilz~')
+  call delete('Xwfcfily~')
   %bw!
 
   call delete('Xwfcfile')
index d4d3302e6229c40d7cf4cdc873c39915d7e4a8f4..021694b3c3ccf729c7714acdcdf56f4e5b6fc020 100644 (file)
@@ -703,6 +703,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    381,
 /**/
     380,
 /**/