summaryrefslogtreecommitdiff
path: root/src/testdir/test_gui_init.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-04 13:32:10 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-04 13:32:10 +0100
commit24d7636e98b33ec6873c51fc72f6bf4b10188d8b (patch)
tree7645fcd92436848fcbd098afb0e132d7f4a33b1d /src/testdir/test_gui_init.vim
parentcf5fdf7d1689ecb145b634dcb9c6e9fc60f63869 (diff)
downloadvim-git-24d7636e98b33ec6873c51fc72f6bf4b10188d8b.tar.gz
patch 8.0.0403: GUI tests may failv8.0.0403
Problem: GUI tests may fail. Solution: Ignore the E285 error better. (Kazunobu Kuriyama)
Diffstat (limited to 'src/testdir/test_gui_init.vim')
-rw-r--r--src/testdir/test_gui_init.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testdir/test_gui_init.vim b/src/testdir/test_gui_init.vim
index a0922990e..811c6ecb2 100644
--- 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()