Skip to content

Commit

Permalink
patch 9.0.1365: dead test code
Browse files Browse the repository at this point in the history
Problem:    Dead test code.
Solution:   Remove code that depends on Farsi, which has been removed.
            (closes #12084)
  • Loading branch information
zeertzjq authored and brammool committed Feb 28, 2023
1 parent da77693 commit f0300fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/testdir/test_startup.vim
Expand Up @@ -389,8 +389,8 @@ func Test_m_M_R()
call delete('Xtestout')
endfunc

" Test the -A, -F and -H arguments (Arabic, Farsi and Hebrew modes).
func Test_A_F_H_arg()
" Test the -A and -H arguments (Arabic and Hebrew modes).
func Test_A_H_arg()
let after =<< trim [CODE]
call writefile([&rightleft, &arabic, &fkmap, &hkmap], "Xtestout")
qall
Expand All @@ -403,11 +403,6 @@ func Test_A_F_H_arg()
call assert_equal(['1', '1', '0', '0'], lines)
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')
let lines = readfile('Xtestout')
call assert_equal(['1', '0', '0', '1'], lines)
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -695,6 +695,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1365,
/**/
1364,
/**/
Expand Down

0 comments on commit f0300fc

Please sign in to comment.