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

b07b9dc4da

Co-authored-by: Dominique Pellé <dominique.pelle@tomtom.com>
This commit is contained in:
zeertzjq
2023-10-10 05:56:28 +08:00
committed by GitHub
parent 40bd96b6f9
commit 4ab2b43c8f

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()