]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0783: tests: personal spell files leak into later tests v9.2.0783
authorcoyaSONG <66289470+coyaSONG@users.noreply.github.com>
Fri, 17 Jul 2026 14:13:53 +0000 (14:13 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 17 Jul 2026 14:13:53 +0000 (14:13 +0000)
commitf16e30e19d60b0e2dec2b32ba445cd081e2f670e
tree3f1ea17628452dfd6cdd465135aa92ce364a033d
parent834b8d218f1db92e587ecd449e5ce88b41fbe256
patch 9.2.0783: tests: personal spell files leak into later tests

Problem:  Test_spelldump_prefixtree_overflow() resets 'runtimepath' to
          defaults, which can expose personal spell files to later tests
          (Jun-ichi Takimoto, after v9.2.0662)
Solution: Save and restore the test runner's 'runtimepath' value (coyaSONG).

fixes:  #20765
closes: #20766

Co-Authored-By: OpenAI Codex <noreply@openai.com>
Signed-off-by: coyaSONG <66289470+coyaSONG@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_spell.vim
src/version.c