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:
parent
caee7956a2
commit
2a94e98792
@ -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
|
||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2092,
|
||||
/**/
|
||||
2091,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user