]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0781: tests: Test_fuzzy_completion_bufname_fullpath() creates unnecessary dir v9.2.0781
authorzeertzjq <zeertzjq@outlook.com>
Thu, 2 Jul 2026 20:35:25 +0000 (20:35 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 2 Jul 2026 20:35:25 +0000 (20:35 +0000)
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: #20695

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_cmdline.vim
src/version.c

index 9c34e81499305037394a43fe493f5e461a1ccea5..ef1cd7adcd93dabc02a8ac12114e5b65ecc18f5b 100644 (file)
@@ -3601,7 +3601,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
index 27c2bfe527215628cbe985ea63700dc961f2c45b..7306ff970e925121194a30ac3057e6338177cd24 100644 (file)
@@ -759,6 +759,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    781,
 /**/
     780,
 /**/