diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-10-05 20:07:18 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-10-05 20:07:18 +0200 |
commit | afe8cf617013fd8c3f0189f1e1fa7a2a6a8f7511 (patch) | |
tree | 414c3a8972628c31cf5972e077156a3cb7edadc9 /src/testdir/test_arglist.vim | |
parent | 44aefffaad067886d266999cd17cf852b2a7e0b9 (diff) | |
download | vim-git-afe8cf617013fd8c3f0189f1e1fa7a2a6a8f7511.tar.gz |
patch 8.2.1803: a few failures are not testedv8.2.1803
Problem: A few failures are not tested.
Solution: Test a few failures. (Dominique Pellé, closes #7075)
Diffstat (limited to 'src/testdir/test_arglist.vim')
-rw-r--r-- | src/testdir/test_arglist.vim | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/testdir/test_arglist.vim b/src/testdir/test_arglist.vim index 615d8167b..f45a0d4d0 100644 --- a/src/testdir/test_arglist.vim +++ b/src/testdir/test_arglist.vim @@ -426,6 +426,7 @@ func Test_argdelete() call assert_fails('argdelete', 'E610:') call assert_fails('1,100argdelete', 'E16:') call assert_fails('argdel /\)/', 'E55:') + call assert_fails('1argdel 1', 'E474:') call Reset_arglist() args a b c d @@ -478,13 +479,16 @@ func Test_arglist_autocmd() new " redefine arglist; go to Xxx1 next! Xxx1 Xxx2 Xxx3 - " open window for all args + " open window for all args; Reading Xxx2 will change the arglist and the + " third window will get Xxx1: + " win 1: Xxx1 + " win 2: Xxx2 + " win 3: Xxx1 all call assert_equal('test file Xxx1', getline(1)) wincmd w wincmd w call assert_equal('test file Xxx1', getline(1)) - " should now be in Xxx2 rewind call assert_equal('test file Xxx2', getline(1)) |