patch 9.0.2008: test: undofile left behind

Commit: 
https://github.com/vim/vim/commit/b07b9dc4dafe2aad5ee752a51f06acacae210fef
Author: Dominique PellĂ© <[email protected]>
Date:   Mon Oct 9 18:07:24 2023 +0200

    patch 9.0.2008: test: undofile left behind
    
    Problem:  test: undofile left behind
    Solution: cleanup undofile
    
    fix: tmp file not deleted when running make test_undo
    
    Temporary file `.Xtestfile.txt.un~` was left running `make test_undo`
    and vim was configured with:
    ```
    ./configure --with-features=normal --enable-gui=no --enable-terminal
    ```
    
    closes: #13304
    
    Signed-off-by: Christian Brabandt <[email protected]>
    Co-authored-by: Dominique PellĂ© <[email protected]>

diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim
index 58563bde6..13c4990b8 100644
--- a/src/testdir/test_undo.vim
+++ b/src/testdir/test_undo.vim
@@ -860,6 +860,7 @@ func Test_undo_after_write()
 
   call StopVimInTerminal(buf)
   call delete('Xtestfile.txt')
+  call delete('.Xtestfile.txt.un~')
 endfunc
 
 func Test_undo_range_normal()
diff --git a/src/version.c b/src/version.c
index 489ecb871..56f317dd1 100644
--- 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 */
+/**/
+    2008,
 /**/
     2007,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1qpsuP-00FRoU-4a%40256bit.org.

Raspunde prin e-mail lui