# HG changeset patch # User Bram Moolenaar # Date 1662323404 -7200 # Node ID bd62c3173f72d2c426e749576259653ef99ced83 # Parent 0a50e536de8153425470724078ac143cbd6a8f23 patch 9.0.0381: writefile test leaves files behind Commit: https://github.com/vim/vim/commit/b40ad4ff148404b1226bea7051278a1c3c79d4f3 Author: Dominique Pelle 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) diff --git a/src/testdir/test_writefile.vim b/src/testdir/test_writefile.vim --- 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') diff --git a/src/version.c b/src/version.c --- 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,