]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0763: tests: style issue in test_plugin_netrw v9.2.0763
authorChristian Brabandt <cb@256bit.org>
Thu, 2 Jul 2026 06:12:32 +0000 (08:12 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 2 Jul 2026 06:12:32 +0000 (08:12 +0200)
Problem:  tests: style issue in test_plugin_netrw (after v9.2.0761)
Solution: Clean-up newly created directory, use consistent concat
          operator

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

index 896e83ec46a86d530dd26209094e370dec0342a3..a6dcf33e042a57a81ff50f5853391cf2334aebee 100644 (file)
@@ -884,12 +884,12 @@ func Test_netrw_open_backslash_file()
 
   let dir   = getcwd() . '/Xbslash'
   let fname = dir . '/\'
-  call mkdir(dir, 'p')
+  call mkdir(dir, 'pR')
   call writefile(['backslash file content'], fname)
   call assert_true(filereadable(fname))
 
   " list the directory and move onto the '\' entry
-  exe 'Explore ' .. dir
+  exe 'Explore ' . dir
   call assert_true(search('^\\$', 'w') > 0)
 
   " open it
index 89cd188cb50276701042c4154e664ac57b0f7d3e..910a5b3910f9924961fdfa3333c04fff3314b5e8 100644 (file)
@@ -759,6 +759,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    763,
 /**/
     762,
 /**/