forked from aniani/vim
patch 8.1.1535: popup select test fails on Mac
Problem: Popup select test fails on Mac. Solution: Skip test if clipboard feature not available.
This commit is contained in:
@@ -323,6 +323,9 @@ func Test_popup_select()
|
|||||||
if !CanRunVimInTerminal()
|
if !CanRunVimInTerminal()
|
||||||
throw 'Skipped: cannot make screendumps'
|
throw 'Skipped: cannot make screendumps'
|
||||||
endif
|
endif
|
||||||
|
if !has('clipboard')
|
||||||
|
throw 'Skipped: clipboard feature missing'
|
||||||
|
endif
|
||||||
" create a popup with some text to be selected
|
" create a popup with some text to be selected
|
||||||
let lines =<< trim END
|
let lines =<< trim END
|
||||||
call setline(1, range(1, 20))
|
call setline(1, range(1, 20))
|
||||||
|
@@ -777,6 +777,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1535,
|
||||||
/**/
|
/**/
|
||||||
1534,
|
1534,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user