changeset 32068:a87a50f84f96 v9.0.1365

patch 9.0.1365: dead test code Commit: https://github.com/vim/vim/commit/f0300fc7b81e63c2584dc3a763dedea4184d17e5 Author: zeertzjq <zeertzjq@outlook.com> Date: Tue Feb 28 16:02:35 2023 +0000 patch 9.0.1365: dead test code Problem: Dead test code. Solution: Remove code that depends on Farsi, which has been removed. (closes #12084)
author Bram Moolenaar <Bram@vim.org>
date Tue, 28 Feb 2023 17:15:03 +0100
parents 5e31c1bb408f
children 157301fda437
files src/testdir/test_startup.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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)
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1365,
+/**/
     1364,
 /**/
     1363,