Mercurial > vim
comparison src/testdir/test_popupwin.vim @ 20937:a02ba6be5a84 v8.2.1020
patch 8.2.1020: popupwin test fails in the GUI
Commit: https://github.com/vim/vim/commit/b326edf5b30813b2ccdee3ac07ee6495ca5187ff
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 20 15:03:38 2020 +0200
patch 8.2.1020: popupwin test fails in the GUI
Problem: Popupwin test fails in the GUI.
Solution: Send GUI byte sequence for <C-S-a>.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 20 Jun 2020 15:15:03 +0200 |
parents | 9328feafbbf5 |
children | 736d6e6f55f6 |
comparison
equal
deleted
inserted
replaced
20936:c09e47fc4021 | 20937:a02ba6be5a84 |
---|---|
3347 call feedkeys("\u301b", 'xt') | 3347 call feedkeys("\u301b", 'xt') |
3348 call assert_equal([0xe3, 0x80, 0x9b], g:bytes) | 3348 call assert_equal([0xe3, 0x80, 0x9b], g:bytes) |
3349 | 3349 |
3350 if has('unix') | 3350 if has('unix') |
3351 " with modifyOtherKeys <M-S-a> does not include a modifier sequence | 3351 " with modifyOtherKeys <M-S-a> does not include a modifier sequence |
3352 call feedkeys("\<Esc>[27;4;65~", 'Lx!') | 3352 if has('gui_running') |
3353 call feedkeys("\x9b\xfc\x08A", 'Lx!') | |
3354 else | |
3355 call feedkeys("\<Esc>[27;4;65~", 'Lx!') | |
3356 endif | |
3353 call assert_equal([0xc3, 0x81], g:bytes) | 3357 call assert_equal([0xc3, 0x81], g:bytes) |
3354 endif | 3358 endif |
3355 | 3359 |
3356 call popup_clear() | 3360 call popup_clear() |
3357 delfunc MyPopupFilter | 3361 delfunc MyPopupFilter |