Skip to content

Commit 2a94e98

Browse files
committed
patch 9.0.2092: tests: failure in test_arabic
Problem: tests: failure in test_arabic Solution: adjust the test for the changed arabic keymap Signed-off-by: Christian Brabandt <[email protected]>
1 parent caee795 commit 2a94e98

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/testdir/test_arabic.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ endfunc
7474
func Test_arabic_toggle_keymap()
7575
new
7676
set arabic
77-
call feedkeys("i12\<C-^>12\<C-^>12", 'tx')
78-
call assert_match("^ *٢١21٢١$", ScreenLines(1, &columns)[0])
79-
call assert_equal('١٢12١٢', getline('.'))
77+
call feedkeys("i12\<C-^>12\<C-^>12abcd", 'tx')
78+
call assert_match("^ *.*ﺷ212121$", ScreenLines(1, &columns)[0])
79+
call assert_equal('121212شلاؤي', getline('.'))
8080
set arabic&
8181
bwipe!
8282
endfunc

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ static char *(features[]) =
704704

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
2092,
707709
/**/
708710
2091,
709711
/**/

0 commit comments

Comments
 (0)