diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-20 09:17:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 09:17:33 +0800 |
commit | dbcd1985d13b02ab7a547d0b97d4ede28fa49b96 (patch) | |
tree | bf01512b3dd3a08e629b007d75b7fb00352ea8dd | |
parent | e81331c2b0b6490cfc4204ffd41b7d3df6b2cd8b (diff) | |
download | rneovim-dbcd1985d13b02ab7a547d0b97d4ede28fa49b96.tar.gz rneovim-dbcd1985d13b02ab7a547d0b97d4ede28fa49b96.tar.bz2 rneovim-dbcd1985d13b02ab7a547d0b97d4ede28fa49b96.zip |
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.
https://github.com/vim/vim/commit/7e0be3ea211748a77d32cb1d3d35ecfc246cf0f2
Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r-- | test/old/testdir/runtest.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/old/testdir/runtest.vim b/test/old/testdir/runtest.vim index 5ee9c9fa71..95651afd49 100644 --- a/test/old/testdir/runtest.vim +++ b/test/old/testdir/runtest.vim @@ -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_ |