]> granicus.if.org Git - vim/commitdiff
patch 8.2.4786: test for win_gotoid() in Visual mode fails on Mac v8.2.4786
authorBram Moolenaar <Bram@vim.org>
Mon, 18 Apr 2022 18:16:55 +0000 (19:16 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 18 Apr 2022 18:16:55 +0000 (19:16 +0100)
Problem:    Test for win_gotoid() in Visual mode fails on Mac.
Solution:   Skip the test on MacOS.

src/testdir/test_vim9_builtin.vim
src/version.c

index 7dde24c68ceab4b49fa71d153c1ff2c20d3ac2bf..ac4ca37115b2c0d1ed32810733b3bebc5c85a21b 100644 (file)
@@ -4497,7 +4497,8 @@ enddef
 func Test_win_gotoid_in_mapping()
   CheckScreendump
 
-  if has('clipboard_working')
+  " requires a working clipboard and this doesn't work on MacOS
+  if has('clipboard_working') && !has('mac')
     let @* = 'foo'
     let lines =<< trim END
         set cmdheight=2
index f3f88125b7c4aece3c640fae310ca7631cf48318..9d3a9b5514b272bb480b2e8dfee084449ca72c9f 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4786,
 /**/
     4785,
 /**/