mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
8bd0a9c360
commit
999fe94688
@ -386,8 +386,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, 0, &hkmap, &keymap], "Xtestout")
|
call writefile([&rightleft, &arabic, 0, &hkmap, &keymap], "Xtestout")
|
||||||
qall
|
qall
|
||||||
@ -400,11 +400,6 @@ func Test_A_F_H_arg()
|
|||||||
call assert_equal(['1', '1', '0', '0', 'arabic'], lines)
|
call assert_equal(['1', '1', '0', '0', 'arabic'], 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', '0', 'hebrew'], lines)
|
call assert_equal(['1', '0', '0', '0', 'hebrew'], lines)
|
||||||
|
Loading…
Reference in New Issue
Block a user