]> granicus.if.org Git - vim/commitdiff
patch 9.0.1365: dead test code v9.0.1365
authorzeertzjq <zeertzjq@outlook.com>
Tue, 28 Feb 2023 16:02:35 +0000 (16:02 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 28 Feb 2023 16:02:35 +0000 (16:02 +0000)
Problem:    Dead test code.
Solution:   Remove code that depends on Farsi, which has been removed.
            (closes #12084)

src/testdir/test_startup.vim
src/version.c

index 081c7f8900619a86e56633d291a7ade57d062180..949553350f0995b8bb4a10ca06a59c14b4d06b49 100644 (file)
@@ -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)
index 7ae6d8bcafa98130c1334f3b6cfd37df3fb36056..fbb16ae6938383f47efd5f931cc2fe887b3c18a3 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1365,
 /**/
     1364,
 /**/