1
0
forked from aniani/vim

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 <cb@256bit.org>
This commit is contained in:
Christian Brabandt 2023-11-05 19:17:10 +01:00
parent caee7956a2
commit 2a94e98792
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
2 changed files with 5 additions and 3 deletions

View File

@ -74,9 +74,9 @@ endfunc
func Test_arabic_toggle_keymap()
new
set arabic
call feedkeys("i12\<C-^>12\<C-^>12", 'tx')
call assert_match("^ *٢١21٢١$", ScreenLines(1, &columns)[0])
call assert_equal('١٢12١٢', getline('.'))
call feedkeys("i12\<C-^>12\<C-^>12abcd", 'tx')
call assert_match("^ *.*ﺷ212121$", ScreenLines(1, &columns)[0])
call assert_equal('121212شلاؤي', getline('.'))
set arabic&
bwipe!
endfunc

View File

@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2092,
/**/
2091,
/**/