Patch 9.0.1365
Problem:    Dead test code.
Solution:   Remove code that depends on Farsi, which has been removed.
            (closes #12084)
Files:      src/testdir/test_startup.vim


*** ../vim-9.0.1364/src/testdir/test_startup.vim        2022-10-12 
11:54:31.379668231 +0100
--- src/testdir/test_startup.vim        2023-02-28 15:59:07.815335836 +0000
***************
*** 389,396 ****
    call delete('Xtestout')
  endfunc
  
! " Test the -A, -F and -H arguments (Arabic, Farsi and Hebrew modes).
! func Test_A_F_H_arg()
    let after =<< trim [CODE]
      call writefile([&rightleft, &arabic, &fkmap, &hkmap], "Xtestout")
      qall
--- 389,396 ----
    call delete('Xtestout')
  endfunc
  
! " 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,413 ****
      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)
--- 403,408 ----
*** ../vim-9.0.1364/src/version.c       2023-02-28 15:51:20.370861335 +0000
--- src/version.c       2023-02-28 16:00:48.719440725 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1365,
  /**/

-- 
Some of the well known MS-Windows errors:
        ETIME           Wrong time, wait a little while
        ECRASH          Try again...
        EDETECT         Unable to detect errors
        EOVER           You lost!  Play another game?
        ENOCLUE         Eh, what did you want?

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230228160303.E52A61C0491%40moolenaar.net.

Raspunde prin e-mail lui