patch 9.2.0781: tests: Test_fuzzy_completion_bufname_fullpath() creates unnecessary dir
Commit:
https://github.com/vim/vim/commit/98efa502798d09d828d5b6f48854145549ab060e
Author: zeertzjq <
zeer...@outlook.com>
Date: Thu Jul 2 20:35:25 2026 +0000
patch 9.2.0781: tests: Test_fuzzy_completion_bufname_fullpath() creates unnecessary dir
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 <
zeer...@outlook.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim
index 9c34e8149..ef1cd7adc 100644
--- a/src/testdir/test_cmdline.vim
+++ b/src/testdir/test_cmdline.vim
@@ -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
diff --git a/src/version.c b/src/version.c
index 27c2bfe52..7306ff970 100644
--- a/src/version.c
+++ b/src/version.c
@@ -759,6 +759,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 781,
/**/
780,
/**/