diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-08-17 18:43:40 -0400 |
|---|---|---|
| committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-08-17 23:34:39 -0400 |
| commit | 45615cedd10fb5dc3c502815ed4d98b6d4e4488a (patch) | |
| tree | 87df9ab14c1907990e84ab871695284d953140da /src/nvim/testdir | |
| parent | 27a67288485d890cd514bced11833fa010ed0b92 (diff) | |
| download | rneovim-45615cedd10fb5dc3c502815ed4d98b6d4e4488a.tar.gz rneovim-45615cedd10fb5dc3c502815ed4d98b6d4e4488a.tar.bz2 rneovim-45615cedd10fb5dc3c502815ed4d98b6d4e4488a.zip | |
vim-patch:8.2.1472: ":argdel" does not work like ":.argdel" as documented
Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey
Demin)
Solution: Make ":argdel" work like ":.argdel". (closes vim/vim#6727)
Also fix giving the error "0 more files to edit".
https://github.com/vim/vim/commit/7b22117c4ecf383b6f35acef041773a83ec28220
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_arglist.vim | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_arglist.vim b/src/nvim/testdir/test_arglist.vim index 6e7583ade3..92fedf9bfb 100644 --- a/src/nvim/testdir/test_arglist.vim +++ b/src/nvim/testdir/test_arglist.vim @@ -397,9 +397,15 @@ func Test_argdelete() last argdelete % call assert_equal(['b'], argv()) - call assert_fails('argdelete', 'E471:') + call assert_fails('argdelete', 'E610:') call assert_fails('1,100argdelete', 'E16:') - %argd + + call Reset_arglist() + args a b c d + next + argdel + call Assert_argc(['a', 'c', 'd']) + %argdel endfunc func Test_argdelete_completion() |