diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2021-08-14 21:11:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-08-14 21:11:51 +0200 |
commit | bfb2bb16bc69441fa3ec13caacb2c94637a8a0ec (patch) | |
tree | e844f242b78d73004e0b94116d8c82404dca1334 /src/testdir/test_arglist.vim | |
parent | d2e9ccee90d2b39f4c9fd6cec271ef3fafd76f09 (diff) | |
download | vim-git-bfb2bb16bc69441fa3ec13caacb2c94637a8a0ec.tar.gz |
patch 8.2.3345: some code not covered by testsv8.2.3345
Problem: Some code not covered by tests.
Solution: Add a few more tests. (Dominique Pellé, closes #8757)
Diffstat (limited to 'src/testdir/test_arglist.vim')
-rw-r--r-- | src/testdir/test_arglist.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_arglist.vim b/src/testdir/test_arglist.vim index 4f169416a..7474d335a 100644 --- a/src/testdir/test_arglist.vim +++ b/src/testdir/test_arglist.vim @@ -82,6 +82,10 @@ func Test_argadd() new arga call assert_equal(0, len(argv())) + + if has('unix') + call assert_fails('argadd `Xdoes_not_exist`', 'E479:') + endif endfunc func Test_argadd_empty_curbuf() @@ -434,6 +438,8 @@ func Test_argdelete() argdel call Assert_argc(['a', 'c', 'd']) %argdel + + call assert_fails('argdel does_not_exist', 'E480:') endfunc func Test_argdelete_completion() |