summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_eval.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-04-05 21:28:56 +0200
committerBram Moolenaar <Bram@vim.org>2014-04-05 21:28:56 +0200
commit7d647820ed7c747bbc5618366ce6dfcf0006398d (patch)
tree6a98a72a5ee41c50775517d57bc853bdfac24fe5 /src/testdir/test_eval.in
parent39c29ed5118ab513554d1d51d6a98e65f32784ba (diff)
updated for version 7.4.249v7.4.249
Problem: Using setreg() with a list of numbers does not work. Solution: Use a separate buffer for numbers. (ZyX)
Diffstat (limited to 'src/testdir/test_eval.in')
-rw-r--r--src/testdir/test_eval.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testdir/test_eval.in b/src/testdir/test_eval.in
index 0a7ede695f..b102be2b10 100644
--- a/src/testdir/test_eval.in
+++ b/src/testdir/test_eval.in
@@ -90,6 +90,8 @@ call SetReg('a', ['abcA3'], 'c')
call SetReg('b', ['abcB3'], 'l')
call SetReg('c', ['abcC3'], 'b')
call SetReg('d', ['abcD3'])
+call SetReg('e', [1, 2, 'abc', 3])
+call SetReg('f', [1, 2, 3])
$put ='{{{1 Appending lists with setreg()'
call SetReg('A', ['abcA3c'], 'c')
@@ -128,8 +130,8 @@ call ErrExe('call setreg(1, 2, 3, 4)')
call ErrExe('call setreg([], 2)')
call ErrExe('call setreg(1, {})')
call ErrExe('call setreg(1, 2, [])')
-call ErrExe('call setreg("/", [1, 2])')
-call ErrExe('call setreg("=", [1, 2])')
+call ErrExe('call setreg("/", ["1", "2"])')
+call ErrExe('call setreg("=", ["1", "2"])')
call ErrExe('call setreg(1, ["", "", [], ""])')
endfun
:"