neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit dccc35e6e93d856729586b18619087f6f31f0613
parent 8b79c32735867d873fdc4d482cdefd33e0bf62e7
Author: Jan Edmund Lazo <jan.lazo@mail.utoronto.ca>
Date:   Wed, 10 Dec 2025 13:15:25 -0500

vim-patch:8.2.2571: test may leave file behind

Problem:    Test may leave file behind.
Solution:   Delete the temporary file.  Don't profile in the running Vim
            instance.

https://github.com/vim/vim/commit/8c801b374b7d32419cd877353495b801c5e1382a

Co-authored-by: Bram Moolenaar <Bram@vim.org>

Diffstat:
Mtest/old/testdir/test_profile.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/old/testdir/test_profile.vim b/test/old/testdir/test_profile.vim @@ -614,7 +614,7 @@ func Test_vim9_profiling() call writefile(lines, 'Xprofile_crash.vim') call system(GetVimCommandClean() . ' -es -c "so Xprofile_crash.vim" -c q') call assert_equal(0, v:shell_error) - call CheckScriptSuccess(lines) + call assert_true(readfile('Xprofile_crash.log')->len() > 10) call delete('Xprofile_crash.vim') call delete('Xprofile_crash.log') endfunc