patch 8.2.4598: profile completion test sometimes fails
Problem: Profile completion test sometimes fails.
Solution: Delete the .res file before running tests.
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim
index d4c42f3..766f983 100644
--- a/src/testdir/runtest.vim
+++ b/src/testdir/runtest.vim
@@ -410,6 +410,9 @@
endtry
endif
+" 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_
diff --git a/src/version.c b/src/version.c
index 02bd497..1e02a58 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4598,
+/**/
4597,
/**/
4596,