patch 8.2.0416: test leaves file behind

Problem:    Test leaves file behind.
Solution:   Delete the file.
This commit is contained in:
Bram Moolenaar
2020-03-19 20:33:33 +01:00
parent 40d235e730
commit 95e59a355b
2 changed files with 4 additions and 0 deletions

View File

@ -134,10 +134,12 @@ func Test_modeline_indent_expr()
call assert_equal('GetIndent()', &indentexpr)
exe "normal Oa\nb\n"
call assert_equal([' a', ' b'], getline(1, 2))
set modelineexpr&
delfunc GetIndent
let &modeline = modeline
close!
call delete('Xfile.txt')
endfunc
" vim: shiftwidth=2 sts=2 expandtab

View File

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