changeset 30791:574bf5c78a40 v9.0.0730

patch 9.0.0730: startup test fails with right-left feature Commit: https://github.com/vim/vim/commit/9ce7915d0667e6cb8f930634473f0caf2967f4e3 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 12 11:54:34 2022 +0100 patch 9.0.0730: startup test fails with right-left feature Problem: Startup test fails with right-left feature. Solution: Do not delete test file too early.
author Bram Moolenaar <Bram@vim.org>
date Wed, 12 Oct 2022 13:00:05 +0200
parents f3657984c407
children 835032dad46a
files src/testdir/test_startup.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_startup.vim
+++ b/src/testdir/test_startup.vim
@@ -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).
--- a/src/version.c
+++ b/src/version.c
@@ -700,6 +700,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    730,
+/**/
     729,
 /**/
     728,