changeset 28524:373c70e3c542 v8.2.4786

patch 8.2.4786: test for win_gotoid() in Visual mode fails on Mac Commit: https://github.com/vim/vim/commit/861fcee8de19a694de413dd28e0ebe80010f0b4f Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 18 19:16:55 2022 +0100 patch 8.2.4786: test for win_gotoid() in Visual mode fails on Mac Problem: Test for win_gotoid() in Visual mode fails on Mac. Solution: Skip the test on MacOS.
author Bram Moolenaar <Bram@vim.org>
date Mon, 18 Apr 2022 20:30:02 +0200
parents 462de7264b67
children ea09c444fb6b
files src/testdir/test_vim9_builtin.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_vim9_builtin.vim
+++ b/src/testdir/test_vim9_builtin.vim
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4786,
+/**/
     4785,
 /**/
     4784,