patch 8.2.4598: profile completion test sometimes fails

Problem:    Profile completion test sometimes fails.
Solution:   Delete the .res file before running tests.
This commit is contained in:
Bram Moolenaar
2022-03-20 13:40:41 +00:00
parent b6643d10d3
commit 7e0be3ea21
2 changed files with 5 additions and 0 deletions

View File

@ -410,6 +410,9 @@ else
endtry endtry
endif endif
" 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_

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
4598,
/**/ /**/
4597, 4597,
/**/ /**/