aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-03-01 08:17:09 +0800
committerGitHub <noreply@github.com>2023-03-01 08:17:09 +0800
commit999fe9468862e22fa5317585f67f5cb32683fc15 (patch)
tree91c5f52c36614d7690c1e8d52affb4c729630b13
parent8bd0a9c360e94b2702cbccbde838a2a7e4f8ccf1 (diff)
downloadrneovim-999fe9468862e22fa5317585f67f5cb32683fc15.tar.gz
rneovim-999fe9468862e22fa5317585f67f5cb32683fc15.tar.bz2
rneovim-999fe9468862e22fa5317585f67f5cb32683fc15.zip
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
-rw-r--r--src/nvim/testdir/test_startup.vim9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/nvim/testdir/test_startup.vim b/src/nvim/testdir/test_startup.vim
index 8216b1a894..da467ea23f 100644
--- 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)