diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-03-20 13:40:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-20 13:40:41 +0000 |
commit | 7e0be3ea211748a77d32cb1d3d35ecfc246cf0f2 (patch) | |
tree | 1bb66a631f159919ac2065b9538d859872e234cc | |
parent | b6643d10d39c493951a6bbf3264003d35adeb811 (diff) | |
download | vim-git-7e0be3ea211748a77d32cb1d3d35ecfc246cf0f2.tar.gz |
patch 8.2.4598: profile completion test sometimes failsv8.2.4598
Problem: Profile completion test sometimes fails.
Solution: Delete the .res file before running tests.
-rw-r--r-- | src/testdir/runtest.vim | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index d4c42f332..766f983cf 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -410,6 +410,9 @@ else 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 02bd4973a..1e02a5844 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4598, +/**/ 4597, /**/ 4596, |