]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.2092: tests: failure in test_arabic v9.0.2092
authorChristian Brabandt <cb@256bit.org>
Sun, 5 Nov 2023 18:17:10 +0000 (19:17 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 5 Nov 2023 18:18:52 +0000 (19:18 +0100)
Problem:  tests: failure in test_arabic
Solution: adjust the test for the changed arabic keymap

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_arabic.vim
src/version.c

index 73b85c478329176bd17a05334eff3a898618b70e..d2f28d8183e16d039ee4ca81ed4563c338d30351 100644 (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
index 3a72a9cc92bd96fbe7f337664f790f34004a0fd4..0d460249816ce345fb0ca46032df9990b0ec0c73 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2092,
 /**/
     2091,
 /**/