mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 16:36:30 +00:00
vim-patch:9.1.0695: tests: test_crash leaves Untitled file around
Problem: tests: test_crash leaves Untitled file around Solution: cleanup at the end of the test_crash.vim test filecd83173def
Co-authored-by: Christian Brabandt <cb@256bit.org> (cherry picked from commit71662bbb49
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
8634a46165
commit
a839200c0a
@@ -224,4 +224,11 @@ func Test_crash2()
|
||||
exe buf .. "bw!"
|
||||
endfunc
|
||||
|
||||
func Test_zz_cleanup()
|
||||
" That file is created at Test_crash1_2() by dialog_changed_uaf
|
||||
" but cleanup in that Test, doesn't remove it. Let's try again at
|
||||
" the end of this test script
|
||||
call delete('Untitled')
|
||||
endfunc
|
||||
|
||||
" vim: shiftwidth=2 sts=2 expandtab
|
||||
|
Reference in New Issue
Block a user