changeset 30090:bd62c3173f72 v9.0.0381

patch 9.0.0381: writefile test leaves files behind Commit: https://github.com/vim/vim/commit/b40ad4ff148404b1226bea7051278a1c3c79d4f3 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Sun Sep 4 21:29:46 2022 +0100 patch 9.0.0381: writefile test leaves files behind Problem: Writefile test leaves files behind. Solution: Fix the file names of files to be deleted. (Dominique Pell?, closes #11056)
author Bram Moolenaar <Bram@vim.org>
date Sun, 04 Sep 2022 22:30:04 +0200
parents 0a50e536de81
children 44d3ef8599bc
files src/testdir/test_writefile.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_writefile.vim
+++ b/src/testdir/test_writefile.vim
@@ -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')
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    381,
+/**/
     380,
 /**/
     379,