commit 999fe9468862e22fa5317585f67f5cb32683fc15
parent 8bd0a9c360e94b2702cbccbde838a2a7e4f8ccf1
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed, 1 Mar 2023 08:17:09 +0800
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)
https://github.com/vim/vim/commit/f0300fc7b81e63c2584dc3a763dedea4184d17e5
Diffstat:
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/nvim/testdir/test_startup.vim b/src/nvim/testdir/test_startup.vim
@@ -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)