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>
diff --git a/src/testdir/test_arabic.vim b/src/testdir/test_arabic.vim
index 73b85c4..d2f28d8 100644
--- a/src/testdir/test_arabic.vim
+++ b/src/testdir/test_arabic.vim
@@ -74,9 +74,9 @@
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