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:
zeertzjq 2023-04-20 09:17:33 +08:00 committed by GitHub
parent e81331c2b0
commit dbcd1985d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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_