diff src/testdir/test_gui_init.vim @ 11028:4df1647531a6 v8.0.0403

patch 8.0.0403: GUI tests may fail commit https://github.com/vim/vim/commit/24d7636e98b33ec6873c51fc72f6bf4b10188d8b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 4 13:32:10 2017 +0100 patch 8.0.0403: GUI tests may fail Problem: GUI tests may fail. Solution: Ignore the E285 error better. (Kazunobu Kuriyama)
author Christian Brabandt <cb@256bit.org>
date Sat, 04 Mar 2017 13:45:04 +0100
parents 4e2cdce4576c
children d8a550329a97
line wrap: on
line diff
--- a/src/testdir/test_gui_init.vim
+++ b/src/testdir/test_gui_init.vim
@@ -15,7 +15,10 @@ func TearDown()
   call GUITearDownCommon()
 endfunc
 
-" Make sure that the tests will be done with the GUI activated.
+" Ignore the "failed to create input context" error.
+call test_ignore_error('E285')
+
+" Start the GUI now, in the foreground.
 gui -f
 
 func Test_set_guiheadroom()