1
0
forked from aniani/vim

patch 8.1.2410: MS-Windows: test_iminsert fails without IME support

Problem:    MS-Windows: test_iminsert fails without IME support.
Solution:   Skip the test when imgetstatus() doesn't work.
This commit is contained in:
Bram Moolenaar
2019-12-07 21:40:48 +01:00
parent 5f1920ada2
commit e2a3f36bf2
2 changed files with 9 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
source view_util.vim
source check.vim
let s:imactivatefunc_called = 0
let s:imstatusfunc_called = 0
@@ -31,7 +32,12 @@ func Test_iminsert2()
call assert_equal(expected, s:imstatusfunc_called)
endfunc
func Test_imgetstatus()
func Test_getimstatus()
if has('win32')
CheckFeature multi_byte_ime
elseif !has('gui_mac')
CheckFeature xim
endif
if has('gui_running')
if !has('win32')
throw 'Skipped: running in the GUI, only works on MS-Windows'

View File

@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2410,
/**/
2409,
/**/