Skip to content

Commit f0300fc

Browse files
zeertzjqbrammool
authored andcommitted
patch 9.0.1365: dead test code
Problem: Dead test code. Solution: Remove code that depends on Farsi, which has been removed. (closes #12084)
1 parent da77693 commit f0300fc

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/testdir/test_startup.vim

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,8 @@ func Test_m_M_R()
389389
call delete('Xtestout')
390390
endfunc
391391

392-
" Test the -A, -F and -H arguments (Arabic, Farsi and Hebrew modes).
393-
func Test_A_F_H_arg()
392+
" Test the -A and -H arguments (Arabic and Hebrew modes).
393+
func Test_A_H_arg()
394394
let after =<< trim [CODE]
395395
call writefile([&rightleft, &arabic, &fkmap, &hkmap], "Xtestout")
396396
qall
@@ -403,11 +403,6 @@ func Test_A_F_H_arg()
403403
call assert_equal(['1', '1', '0', '0'], lines)
404404
endif
405405

406-
if has('farsi') && RunVim([], after, '-F')
407-
let lines = readfile('Xtestout')
408-
call assert_equal(['1', '0', '1', '0'], lines)
409-
endif
410-
411406
if has('rightleft') && RunVim([], after, '-H')
412407
let lines = readfile('Xtestout')
413408
call assert_equal(['1', '0', '0', '1'], lines)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,8 @@ static char *(features[]) =
695695

696696
static int included_patches[] =
697697
{ /* Add new patch number below this line */
698+
/**/
699+
1365,
698700
/**/
699701
1364,
700702
/**/

0 commit comments

Comments
 (0)