1
0
forked from aniani/vim

patch 9.0.1365: dead test code

Problem:    Dead test code.
Solution:   Remove code that depends on Farsi, which has been removed.
            (closes #12084)
This commit is contained in:
zeertzjq 2023-02-28 16:02:35 +00:00 committed by Bram Moolenaar
parent da77693b17
commit f0300fc7b8
2 changed files with 4 additions and 7 deletions

View File

@ -389,8 +389,8 @@ func Test_m_M_R()
call delete('Xtestout') call delete('Xtestout')
endfunc endfunc
" Test the -A, -F and -H arguments (Arabic, Farsi and Hebrew modes). " Test the -A and -H arguments (Arabic and Hebrew modes).
func Test_A_F_H_arg() func Test_A_H_arg()
let after =<< trim [CODE] let after =<< trim [CODE]
call writefile([&rightleft, &arabic, &fkmap, &hkmap], "Xtestout") call writefile([&rightleft, &arabic, &fkmap, &hkmap], "Xtestout")
qall qall
@ -403,11 +403,6 @@ func Test_A_F_H_arg()
call assert_equal(['1', '1', '0', '0'], lines) call assert_equal(['1', '1', '0', '0'], lines)
endif endif
if has('farsi') && RunVim([], after, '-F')
let lines = readfile('Xtestout')
call assert_equal(['1', '0', '1', '0'], lines)
endif
if has('rightleft') && RunVim([], after, '-H') if has('rightleft') && RunVim([], after, '-H')
let lines = readfile('Xtestout') let lines = readfile('Xtestout')
call assert_equal(['1', '0', '0', '1'], lines) call assert_equal(['1', '0', '0', '1'], lines)

View File

@ -695,6 +695,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 */
/**/
1365,
/**/ /**/
1364, 1364,
/**/ /**/