0
0
mirror of https://github.com/vim/vim.git synced 2025-10-16 07:24:23 -04:00

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.
This commit is contained in:
Bram Moolenaar
2022-10-12 11:54:34 +01:00
parent ae906c8b1b
commit 9ce7915d06
2 changed files with 5 additions and 1 deletions

View File

@@ -392,7 +392,7 @@ endfunc
" Test the -A, -F and -H arguments (Arabic, Farsi and Hebrew modes). " Test the -A, -F and -H arguments (Arabic, Farsi and Hebrew modes).
func Test_A_F_H_arg() func Test_A_F_H_arg()
let after =<< trim [CODE] let after =<< trim [CODE]
call writefile([&rightleft, &arabic, &fkmap, &hkmap], "Xtestout", 'D') call writefile([&rightleft, &arabic, &fkmap, &hkmap], "Xtestout")
qall qall
[CODE] [CODE]
@@ -412,6 +412,8 @@ func Test_A_F_H_arg()
let lines = readfile('Xtestout') let lines = readfile('Xtestout')
call assert_equal(['1', '0', '0', '1'], lines) call assert_equal(['1', '0', '0', '1'], lines)
endif endif
call delete('Xtestout')
endfunc endfunc
" Test the --echo-wid argument (for GTK GUI only). " Test the --echo-wid argument (for GTK GUI only).

View File

@@ -699,6 +699,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
730,
/**/ /**/
729, 729,
/**/ /**/