commit 4ab2b43c8fd73e6fcbf12bdb135194c534cc4886
parent 40bd96b6f9295a43de0c4179a90db087a7d37293
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue, 10 Oct 2023 05:56:28 +0800
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>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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()