mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00: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:
@@ -497,6 +497,9 @@ let s:flaky_tests = [
|
|||||||
\ 'Test_termwinscroll()',
|
\ '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.
|
" Locate Test_ functions and execute them.
|
||||||
redir @q
|
redir @q
|
||||||
silent function /^Test_
|
silent function /^Test_
|
||||||
|
Reference in New Issue
Block a user