vim-patch:9.0.1365: dead test code (#22461)

Problem:    Dead test code.
Solution:   Remove code that depends on Farsi, which has been removed.
            (closes vim/vim#12084)

f0300fc7b8
This commit is contained in:
zeertzjq 2023-03-01 08:17:09 +08:00 committed by GitHub
parent 8bd0a9c360
commit 999fe94688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -386,8 +386,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, 0, &hkmap, &keymap], "Xtestout")
qall
@ -400,11 +400,6 @@ func Test_A_F_H_arg()
call assert_equal(['1', '1', '0', '0', 'arabic'], 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', '0', 'hebrew'], lines)