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>
This commit is contained in:
zeertzjqandDominique Pellé authored and GitHub committed 2023-10-10 05:56:28 +08:00
1 parent 40bd96b6f9
commit 4ab2b43c8f
1 file changed
+1
+1
View File
@@ -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()