]> granicus.if.org Git - vim/commitdiff
patch 9.0.0365: file name used in test is unusual v9.0.0365
authorDominique Pelle <dominique.pelle@gmail.com>
Sat, 3 Sep 2022 09:59:32 +0000 (10:59 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 3 Sep 2022 09:59:32 +0000 (10:59 +0100)
Problem:    File name used in test is unusual.
Solution:   Rename it. (Dominique PellĂ©, closes #11044)

src/testdir/test_terminal.vim
src/version.c

index 238fd865b75fe36da593354a83727fef59a72b4f..81e659ea5da2907d6a96859cb60d94a60a6e6353 100644 (file)
@@ -642,9 +642,9 @@ func Test_terminal_cwd_failure()
   " Case 1: Provided directory is not actually a directory.  Attempt to make
   " the file executable as well.
   call writefile([], 'Xtcfile')
-  call setfperm('Xftcile', 'rwx------')
-  call assert_fails("call term_start(&shell, {'cwd': 'Xftcile'})", 'E475:')
-  call delete('Xftcile')
+  call setfperm('Xtcfile', 'rwx------')
+  call assert_fails("call term_start(&shell, {'cwd': 'Xtcfile'})", 'E475:')
+  call delete('Xtcfile')
 
   " Case 2: Directory does not exist.
   call assert_fails("call term_start(&shell, {'cwd': 'Xdir'})", 'E475:')
index a3d8f2c0bf0643d19b3f7dead00724893db7dfc1..3d9a9c758c001101500cbaabef16cb6f29eb04e8 100644 (file)
@@ -707,6 +707,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    365,
 /**/
     364,
 /**/