vim-patch:9.2.0781: tests: Test_fuzzy_completion_bufname_fullpath() creates unnecessary dir (#40565)

Problem:  tests: Test_fuzzy_completion_bufname_fullpath() creates an
          unnecessary directory with the name of a file.
Solution: Only create the parent directory of the file (zeertzjq).

closes: vim/vim#20695

98efa50279
This commit is contained in:
zeertzjq
2026-07-04 07:17:49 +08:00
committed by GitHub
parent 008209d148
commit b5fd22e771

View File

@@ -3546,7 +3546,7 @@ endfunc
func Test_fuzzy_completion_bufname_fullpath()
CheckUnix
set wildoptions&
call mkdir('Xcmd/Xstate/Xfile.js', 'pR')
call mkdir('Xcmd/Xstate', 'pR')
edit Xcmd/Xstate/Xfile.js
cd Xcmd/Xstate
enew