Patch 7.4.612
Problem: test_eval fails on Mac.
Solution: Use the * register instead of the + register. (Jun Takimoto)
Files: src/testdir/test_eval.in, src/testdir/test_eval.ok
*** ../vim-7.4.611/src/testdir/test_eval.in 2015-01-27 22:52:10.709525010
+0100
--- src/testdir/test_eval.in 2015-02-03 16:05:10.127261649 +0100
***************
*** 131,149 ****
if has('clipboard')
" Save and restore system clipboard.
" If no connection to X-Server is possible, test should succeed.
! let _clipreg = ['+', getreg('+'), getregtype('+')]
let _clipopt = &cb
! let &cb='unnamedplus'
5y
! AR +
tabdo :windo :echo "hi"
6y
! AR +
let &cb=_clipopt
call call('setreg', _clipreg)
else
! call AppendRegParts('+', 'V', "clipboard contents\n", "['clipboard
contents']", "clipboard contents\n", "['clipboard contents']")
! call AppendRegParts('+', 'V', "something else\n", "['something else']",
"something else\n", "['something else']")
endif
$put ='{{{1 Errors'
call ErrExe('call setreg()')
--- 131,149 ----
if has('clipboard')
" Save and restore system clipboard.
" If no connection to X-Server is possible, test should succeed.
! let _clipreg = ['*', getreg('*'), getregtype('*')]
let _clipopt = &cb
! let &cb='unnamed'
5y
! AR *
tabdo :windo :echo "hi"
6y
! AR *
let &cb=_clipopt
call call('setreg', _clipreg)
else
! call AppendRegParts('*', 'V', "clipboard contents\n", "['clipboard
contents']", "clipboard contents\n", "['clipboard contents']")
! call AppendRegParts('*', 'V', "something else\n", "['something else']",
"something else\n", "['something else']")
endif
$put ='{{{1 Errors'
call ErrExe('call setreg()')
*** ../vim-7.4.611/src/testdir/test_eval.ok 2015-01-27 22:52:10.709525010
+0100
--- src/testdir/test_eval.ok 2015-02-03 16:05:44.850883668 +0100
***************
*** 317,324 ****
{{{2 setreg('=', ['"abc/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.