summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_eval.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-02-03 16:07:47 +0100
committerBram Moolenaar <Bram@vim.org>2015-02-03 16:07:47 +0100
commite08dd4e49e6d67686e3ba1322a641488ad67c711 (patch)
tree67d9c227b2ae6d995391c636e02297cebc081075 /src/testdir/test_eval.in
parentb641df49655bb34762b44aa8c6e03e5f464f73d6 (diff)
updated for version 7.4.612v7.4.612
Problem: test_eval fails on Mac. Solution: Use the * register instead of the + register. (Jun Takimoto)
Diffstat (limited to 'src/testdir/test_eval.in')
-rw-r--r--src/testdir/test_eval.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/testdir/test_eval.in b/src/testdir/test_eval.in
index b0ac3a0290..087e6099ac 100644
--- a/src/testdir/test_eval.in
+++ b/src/testdir/test_eval.in
@@ -131,19 +131,19 @@ $put ='{{{1 System clipboard'
if has('clipboard')
" Save and restore system clipboard.
" If no connection to X-Server is possible, test should succeed.
-let _clipreg = ['+', getreg('+'), getregtype('+')]
+let _clipreg = ['*', getreg('*'), getregtype('*')]
let _clipopt = &cb
-let &cb='unnamedplus'
+let &cb='unnamed'
5y
-AR +
+AR *
tabdo :windo :echo "hi"
6y
-AR +
+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']")
+ 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()')