Patch 9.0.1365

5 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 28, 2023, 11:03:08 AM2/28/23
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages