diff --git a/src/testdir/test_mswin_event.vim b/src/testdir/test_mswin_event.vim index 10e7a812e..950fc61ea 100644 --- a/src/testdir/test_mswin_event.vim +++ b/src/testdir/test_mswin_event.vim @@ -468,16 +468,21 @@ func Test_mswin_event_character_keys() endfor endfor - " Test for to keys - " Expect the unicode characters 0x01 to 0x1A +" Test for to keys +" Expect the unicode characters 0x01 to 0x1A +" Note: May cause an Interrupt to be triggered for Ctrl-C for modkey in [s:VK.CONTROL, s:VK.LCONTROL, s:VK.RCONTROL] for kc in range(65, 90) - call SendKeyGroup([modkey, kc]) - let ch = Getcharstr() - call assert_equal(nr2char(kc - 64), ch) - call SendKeyWithModifiers(kc, s:MOD_MASK_CTRL) - let ch = Getcharstr() - call assert_equal(nr2char(kc - 64), ch) + try + call SendKeyGroup([modkey, kc]) + let ch = Getcharstr() + call assert_equal(nr2char(kc - 64), ch) + call SendKeyWithModifiers(kc, s:MOD_MASK_CTRL) + let ch = Getcharstr() + call assert_equal(nr2char(kc - 64), ch) + catch /^Vim:Interrupt$/ + " ignore + endtry endfor endfor diff --git a/src/version.c b/src/version.c index 8b278c5d9..a8dba0e78 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 53, /**/ 52, /**/