]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.0730: startup test fails with right-left feature v9.0.0730
authorBram Moolenaar <Bram@vim.org>
Wed, 12 Oct 2022 10:54:34 +0000 (11:54 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 12 Oct 2022 10:54:34 +0000 (11:54 +0100)
Problem:    Startup test fails with right-left feature.
Solution:   Do not delete test file too early.

src/testdir/test_startup.vim
src/version.c

index 6c2fbbd15d4125abe65688f8e3179162558655bb..081c7f8900619a86e56633d291a7ade57d062180 100644 (file)
@@ -392,7 +392,7 @@ endfunc
 " Test the -A, -F and -H arguments (Arabic, Farsi and Hebrew modes).
 func Test_A_F_H_arg()
   let after =<< trim [CODE]
-    call writefile([&rightleft, &arabic, &fkmap, &hkmap], "Xtestout", 'D')
+    call writefile([&rightleft, &arabic, &fkmap, &hkmap], "Xtestout")
     qall
   [CODE]
 
@@ -412,6 +412,8 @@ func Test_A_F_H_arg()
     let lines = readfile('Xtestout')
     call assert_equal(['1', '0', '0', '1'], lines)
   endif
+
+  call delete('Xtestout')
 endfunc
 
 " Test the --echo-wid argument (for GTK GUI only).
index 3413d52d6fe60be820e830e29122f7b5c246e27e..31d9776f7d2980c63b040a45f12199c0c145e373 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    730,
 /**/
     729,
 /**/