Skip to content

Commit c9228de

Browse files
committed
Fix test_gui for MacVim
1 parent 74e0ed7 commit c9228de

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/testdir/test_gui.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
" Tests specifically for the GUI
22

3-
if !has('gui') || ($DISPLAY == "" && !has('gui_running'))
3+
if !has('gui') || (($DISPLAY == "" || has('gui_macvim')) && !has('gui_running'))
44
finish
55
endif
66

@@ -559,6 +559,11 @@ func Test_set_guioptions()
559559
set guioptions&
560560
call assert_equal('egmrLtT', &guioptions)
561561

562+
elseif has('gui_macvim')
563+
" Default Value
564+
set guioptions&
565+
call assert_equal('egmrL', &guioptions)
566+
562567
else
563568
" Default Value
564569
set guioptions&

0 commit comments

Comments
 (0)