]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.1020: popupwin test fails in the GUI v8.2.1020
authorBram Moolenaar <Bram@vim.org>
Sat, 20 Jun 2020 13:03:38 +0000 (15:03 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 20 Jun 2020 13:03:38 +0000 (15:03 +0200)
Problem:    Popupwin test fails in the GUI.
Solution:   Send GUI byte sequence for <C-S-a>.

src/testdir/test_popupwin.vim
src/version.c

index b6f718c842a9359acee354aba93367aab183453e..42f4256c3ea0d796dd193bde87075780041ed370 100644 (file)
@@ -3349,7 +3349,11 @@ func Test_popupwin_filter_input_multibyte()
 
   if has('unix')
     " with modifyOtherKeys <M-S-a> does not include a modifier sequence
-    call feedkeys("\<Esc>[27;4;65~", 'Lx!')
+    if has('gui_running')
+      call feedkeys("\x9b\xfc\x08A", 'Lx!')
+    else
+      call feedkeys("\<Esc>[27;4;65~", 'Lx!')
+    endif
     call assert_equal([0xc3, 0x81], g:bytes)
   endif
 
index 5d7e45135ef0af3ba072ad8b7d7b35aea45c98c9..b9e6d5bdadbc0e81270914eaa918ed49bffe22aa 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1020,
 /**/
     1019,
 /**/