aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-10-10 05:56:28 +0800
committerGitHub <noreply@github.com>2023-10-10 05:56:28 +0800
commit4ab2b43c8fd73e6fcbf12bdb135194c534cc4886 (patch)
tree7caded06aba2223c95fe5ecbbfa0c26f423544c0
parent40bd96b6f9295a43de0c4179a90db087a7d37293 (diff)
downloadrneovim-4ab2b43c8fd73e6fcbf12bdb135194c534cc4886.tar.gz
rneovim-4ab2b43c8fd73e6fcbf12bdb135194c534cc4886.tar.bz2
rneovim-4ab2b43c8fd73e6fcbf12bdb135194c534cc4886.zip
vim-patch:9.0.2008: test: undofile left behind (#25567)
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: vim/vim#13304 https://github.com/vim/vim/commit/b07b9dc4dafe2aad5ee752a51f06acacae210fef Co-authored-by: Dominique Pellé <dominique.pelle@tomtom.com>
-rw-r--r--test/old/testdir/test_undo.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/old/testdir/test_undo.vim b/test/old/testdir/test_undo.vim
index b75b6f9b0d..a06731cc96 100644
--- a/test/old/testdir/test_undo.vim
+++ b/test/old/testdir/test_undo.vim
@@ -868,6 +868,7 @@ func Test_undo_after_write()
call StopVimInTerminal(buf)
call delete('Xtestfile.txt')
+ call delete('.Xtestfile.txt.un~')
endfunc
func Test_undo_range_normal()