summaryrefslogtreecommitdiff
path: root/src/testdir/test_gui.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-01 15:07:05 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-01 15:07:05 +0100
commite0c31f6a304496b597a51ce98af419ec815bec74 (patch)
tree9e40b37c819bfc5a3c8f7fb41c25657a88b89ff2 /src/testdir/test_gui.vim
parent5f53dd3f747711be90879fa2f22a207970b86750 (diff)
downloadvim-e0c31f6a304496b597a51ce98af419ec815bec74.zip
patch 8.0.0392: GUI test fails with Athena and Motif
Problem: GUI test fails with Athena and Motif. Solution: Add test_ignore_error(). Use it to ignore the "failed to create input context" error.
Diffstat (limited to 'src/testdir/test_gui.vim')
-rw-r--r--src/testdir/test_gui.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim
index 77e4f2e9a..6c9722dac 100644
--- a/src/testdir/test_gui.vim
+++ b/src/testdir/test_gui.vim
@@ -17,6 +17,9 @@ endfunc
" Test for resetting "secure" flag after GUI has started.
" Must be run first.
func Test_1_set_secure()
+ " Ignore the "failed to create input context" error.
+ call test_ignore_error('E285')
+
set exrc secure
gui -f
call assert_equal(1, has('gui_running'))