diff options
| author | Scott Prager <splinterofchaos@gmail.com> | 2014-09-05 13:15:48 -0400 |
|---|---|---|
| committer | Scott Prager <splinterofchaos@gmail.com> | 2014-12-11 20:30:00 -0500 |
| commit | 3d93e47d9af5722c0e1be1d073090347d6ae28e3 (patch) | |
| tree | 41f7092e37def49a8aec40405fd4a197c22bdc11 /src/nvim/testdir | |
| parent | 171445ef3441a4dbc9958871760e42460ba7404c (diff) | |
| download | rneovim-3d93e47d9af5722c0e1be1d073090347d6ae28e3.tar.gz rneovim-3d93e47d9af5722c0e1be1d073090347d6ae28e3.tar.bz2 rneovim-3d93e47d9af5722c0e1be1d073090347d6ae28e3.zip | |
vim-patch:7.4.249
Problem: Using setreg() with a list of numbers does not work.
Solution: Use a separate buffer for numbers. (ZyX)
https://code.google.com/p/vim/source/detail?r=v7-4-249
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_eval.in | 6 | ||||
| -rw-r--r-- | src/nvim/testdir/test_eval.ok | bin | 10307 -> 10578 bytes |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_eval.in b/src/nvim/testdir/test_eval.in index 176e62b9cc..95a59ee42a 100644 --- a/src/nvim/testdir/test_eval.in +++ b/src/nvim/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 :" diff --git a/src/nvim/testdir/test_eval.ok b/src/nvim/testdir/test_eval.ok Binary files differindex 7fe5f1bd1b..061e0cfd2f 100644 --- a/src/nvim/testdir/test_eval.ok +++ b/src/nvim/testdir/test_eval.ok |