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

2a94e98792

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Clason 2023-11-05 19:23:16 +01:00
parent bbd7ec9e64
commit 324fad1e88

View File

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