From cd446aa043db64cead7c3a110e6652d48e59be04 Mon Sep 17 00:00:00 2001 From: "K.Takata" Date: Fri, 15 May 2020 12:51:56 +0900 Subject: [PATCH] Fix Test_gui_run_cmd_in_terminal When the terminal feature is not available (e.g. winpty.dll is missing), the Test_gui_run_cmd_in_terminal test fails. Check the terminal feature. --- src/testdir/test_gui.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim index 64b24bfc79ee5..28782f00c087a 100644 --- a/src/testdir/test_gui.vim +++ b/src/testdir/test_gui.vim @@ -841,6 +841,7 @@ endfunc " Test for "!" option in 'guioptions'. Use a terminal for running external " commands func Test_gui_run_cmd_in_terminal() + CheckFeature terminal let save_guioptions = &guioptions set guioptions+=! if has('win32')