Skip to content

Commit b40ad4f

Browse files
dpellebrammool
authored andcommitted
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)
1 parent e1f3ab7 commit b40ad4f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/testdir/test_writefile.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ func Test_writefile_fails_conversion()
7575
call assert_match('CONVERSION ERROR', output)
7676
let output = execute('write! ++enc=ucs-2 Xwfcfile')
7777
call assert_match('CONVERSION ERROR', output)
78-
call delete('Xfilz~')
79-
call delete('Xfily~')
78+
call delete('Xwfcfilz~')
79+
call delete('Xwfcfily~')
8080
%bw!
8181

8282
call delete('Xwfcfile')

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,8 @@ static char *(features[]) =
703703

704704
static int included_patches[] =
705705
{ /* Add new patch number below this line */
706+
/**/
707+
381,
706708
/**/
707709
380,
708710
/**/

0 commit comments

Comments
 (0)