diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-08-03 19:14:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-03 19:14:47 +0200 |
| commit | 0bb1008e7fbbe493e66c517afd26309e27be6860 (patch) | |
| tree | c9ead71431ac0f69cdfaab79cd08cb0310ac3d11 /src/nvim/testdir | |
| parent | a49cf5126915bcc29167312105564304791b1796 (diff) | |
| parent | 5dd860fd73c117ac00b77c08a73e8eaf01122485 (diff) | |
| download | rneovim-0bb1008e7fbbe493e66c517afd26309e27be6860.tar.gz rneovim-0bb1008e7fbbe493e66c517afd26309e27be6860.tar.bz2 rneovim-0bb1008e7fbbe493e66c517afd26309e27be6860.zip | |
Merge #10683 from janlazo/vim-8.1.1796
vim-patch:8.1.{1237,1796}
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_arglist.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_arglist.vim b/src/nvim/testdir/test_arglist.vim index fbe4fcc50f..df72ff0a32 100644 --- a/src/nvim/testdir/test_arglist.vim +++ b/src/nvim/testdir/test_arglist.vim @@ -477,3 +477,12 @@ func Test_large_arg() exe 'argadd ' .repeat('x', &columns) args endfunc + +func Test_argdo() + next! Xa.c Xb.c Xc.c + new + let l = [] + argdo call add(l, expand('%')) + call assert_equal(['Xa.c', 'Xb.c', 'Xc.c'], l) + bwipe Xa.c Xb.c Xc.c +endfunc |