Skip to content

Commit

Permalink
Fix Test_gui_run_cmd_in_terminal
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
k-takata committed May 15, 2020
1 parent a5d0077 commit cd446aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/testdir/test_gui.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit cd446aa

Please sign in to comment.