diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-02-28 16:02:35 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-02-28 16:02:35 +0000 |
commit | f0300fc7b81e63c2584dc3a763dedea4184d17e5 (patch) | |
tree | cc1dbf26229712a538c21477455f67b148440ef4 /src/testdir/test_startup.vim | |
parent | da77693b17ff1f17f03ac78f0298294cf7d1087f (diff) |
patch 9.0.1365: dead test codev9.0.1365
Problem: Dead test code.
Solution: Remove code that depends on Farsi, which has been removed.
(closes #12084)
Diffstat (limited to 'src/testdir/test_startup.vim')
-rw-r--r-- | src/testdir/test_startup.vim | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim index 081c7f8900..949553350f 100644 --- a/src/testdir/test_startup.vim +++ b/src/testdir/test_startup.vim @@ -389,8 +389,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, &fkmap, &hkmap], "Xtestout") qall @@ -403,11 +403,6 @@ func Test_A_F_H_arg() call assert_equal(['1', '1', '0', '0'], 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', '1'], lines) |