changeset 19719:a659d390d3fd v8.2.0416

patch 8.2.0416: test leaves file behind Commit: https://github.com/vim/vim/commit/95e59a355bea9d6234fead07d855880e822a8eaf Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 19 20:33:33 2020 +0100 patch 8.2.0416: test leaves file behind Problem: Test leaves file behind. Solution: Delete the file.
author Bram Moolenaar <Bram@vim.org>
date Thu, 19 Mar 2020 20:45:05 +0100
parents 603a5ebd1814
children 69b650ef768a
files src/testdir/test_indent.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_indent.vim
+++ b/src/testdir/test_indent.vim
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    416,
+/**/
     415,
 /**/
     414,