1
0
forked from aniani/vim

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)
This commit is contained in:
Dominique Pelle
2022-09-04 21:29:46 +01:00
committed by Bram Moolenaar
parent e1f3ab73bc
commit b40ad4ff14
2 changed files with 4 additions and 2 deletions

View 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')

View File

@@ -703,6 +703,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
381,
/**/
380,
/**/