]> granicus.if.org Git - vim/commitdiff
patch 8.1.1535: popup select test fails on Mac v8.1.1535
authorBram Moolenaar <Bram@vim.org>
Fri, 14 Jun 2019 22:29:33 +0000 (00:29 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 14 Jun 2019 22:29:33 +0000 (00:29 +0200)
Problem:    Popup select test fails on Mac.
Solution:   Skip test if clipboard feature not available.

src/testdir/test_popupwin.vim
src/version.c

index 6e11bba73a452c49620d69cb9dc68d4a341a8939..79207c8b26bb307895033848dbddcfe52db376c5 100644 (file)
@@ -323,6 +323,9 @@ func Test_popup_select()
   if !CanRunVimInTerminal()
     throw 'Skipped: cannot make screendumps'
   endif
+  if !has('clipboard')
+    throw 'Skipped: clipboard feature missing'
+  endif
   " create a popup with some text to be selected
   let lines =<< trim END
     call setline(1, range(1, 20))
index 851cd5fa1c392426d0be6a8307603dd5b12e56f8..7d4d06d11332c0dcaf39d3f4f9ca645d869ab924 100644 (file)
@@ -777,6 +777,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1535,
 /**/
     1534,
 /**/