mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.4598: profile completion test sometimes fails (#23208)
Problem: Profile completion test sometimes fails.
Solution: Delete the .res file before running tests.
7e0be3ea21
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
e81331c2b0
commit
dbcd1985d1
@ -497,6 +497,9 @@ let s:flaky_tests = [
|
||||
\ 'Test_termwinscroll()',
|
||||
\ ]
|
||||
|
||||
" Delete the .res file, it may change behavior for completion
|
||||
call delete(fnamemodify(g:testname, ':r') .. '.res')
|
||||
|
||||
" Locate Test_ functions and execute them.
|
||||
redir @q
|
||||
silent function /^Test_
|
||||
|
Loading…
Reference in New Issue
Block a user